Author: marcel
Date: Thu May 24 22:06:00 2012
New Revision: 235942
URL: http://svn.freebsd.org/changeset/base/235942
Log:
Revert isync for ILP32 to sync as per my original change that I discussed
with Nathan. Leave __ATOMIC_ACQ as an isync as per Nathan.
Modified:
head/sys/powerpc/include/atomic.h
Modified: head/sys/powerpc/include/atomic.h
==============================================================================
--- head/sys/powerpc/include/atomic.h Thu May 24 22:00:48 2012
(r235941)
+++ head/sys/powerpc/include/atomic.h Thu May 24 22:06:00 2012
(r235942)
@@ -54,10 +54,10 @@
#define __ATOMIC_REL() __asm __volatile("lwsync" : : : "memory")
#define __ATOMIC_ACQ() __asm __volatile("lwsync" : : : "memory")
#else
-#define mb() __asm __volatile("isync" : : : "memory")
-#define rmb() __asm __volatile("isync" : : : "memory")
-#define wmb() __asm __volatile("isync" : : : "memory")
-#define __ATOMIC_REL() __asm __volatile("isync" : : : "memory")
+#define mb() __asm __volatile("sync" : : : "memory")
+#define rmb() __asm __volatile("sync" : : : "memory")
+#define wmb() __asm __volatile("sync : : : "memory")
+#define __ATOMIC_REL() __asm __volatile("sync" : : : "memory")
#define __ATOMIC_ACQ() __asm __volatile("isync" : : : "memory")
#endif
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"