apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r555258 - /apr/apr/trunk/atomic/unix/ppc.c
Date Wed, 11 Jul 2007 13:00:52 GMT
Author: davi
Date: Wed Jul 11 06:00:51 2007
New Revision: 555258

URL: http://svn.apache.org/viewvc?view=rev&rev=555258
Log:
Fix a mis-merge of PPC memory barriers.

Modified:
    apr/apr/trunk/atomic/unix/ppc.c

Modified: apr/apr/trunk/atomic/unix/ppc.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/atomic/unix/ppc.c?view=diff&rev=555258&r1=555257&r2=555258
==============================================================================
--- apr/apr/trunk/atomic/unix/ppc.c (original)
+++ apr/apr/trunk/atomic/unix/ppc.c Wed Jul 11 06:00:51 2007
@@ -179,8 +179,7 @@
 {
     void *prev;
 #if APR_SIZEOF_VOIDP == 4
-    asm volatile (PPC_SYNC
-                  "loop_%=:\n"                  /* lost reservation     */
+    asm volatile ("loop_%=:\n"                  /* lost reservation     */
                   "	lwarx   %0,0,%1\n"      /* load and reserve     */
                   PPC405_ERR77_SYNC             /* ppc405 Erratum 77    */
                   "	stwcx.  %2,0,%1\n"      /* store new value      */
@@ -190,8 +189,7 @@
                   : "b" (mem), "r" (with)
                   : "cc", "memory");
 #elif APR_SIZEOF_VOIDP == 8
-    asm volatile (PPC_SYNC
-                  "loop_%=:\n"                  /* lost reservation     */
+    asm volatile ("loop_%=:\n"                  /* lost reservation     */
                   "	ldarx   %0,0,%1\n"      /* load and reserve     */
                   PPC405_ERR77_SYNC             /* ppc405 Erratum 77    */
                   "	stdcx.  %2,0,%1\n"      /* store new value      */



Mime
View raw message