Author: nwhitehorn
Date: Thu Apr 26 13:57:41 2012
New Revision: 234705
URL: http://svn.freebsd.org/changeset/base/234705

Log:
  MFC r234589:
  Correctly specify assembler constrains for synchronization instructions.

Modified:
  stable/9/sys/powerpc/include/cpufunc.h
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/powerpc/include/cpufunc.h
==============================================================================
--- stable/9/sys/powerpc/include/cpufunc.h      Thu Apr 26 13:56:38 2012        
(r234704)
+++ stable/9/sys/powerpc/include/cpufunc.h      Thu Apr 26 13:57:41 2012        
(r234705)
@@ -176,21 +176,21 @@ static __inline void
 eieio(void)
 {
 
-       __asm __volatile ("eieio");
+       __asm __volatile ("eieio" : : : "memory");
 }
 
 static __inline void
 isync(void)
 {
 
-       __asm __volatile ("isync");
+       __asm __volatile ("isync" : : : "memory");
 }
 
 static __inline void
 powerpc_sync(void)
 {
 
-       __asm __volatile ("sync");
+       __asm __volatile ("sync" : : : "memory");
 }
 
 static __inline register_t
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to