svn commit: r234589 - head/sys/powerpc/include
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sun Apr 22 21:55:20 UTC 2012
Author: nwhitehorn
Date: Sun Apr 22 21:55:19 2012
New Revision: 234589
URL: http://svn.freebsd.org/changeset/base/234589
Log:
Correctly specify assembler constrains for synchronization instructions.
MFC after: 3 days
Modified:
head/sys/powerpc/include/cpufunc.h
Modified: head/sys/powerpc/include/cpufunc.h
==============================================================================
--- head/sys/powerpc/include/cpufunc.h Sun Apr 22 21:28:33 2012 (r234588)
+++ head/sys/powerpc/include/cpufunc.h Sun Apr 22 21:55:19 2012 (r234589)
@@ -166,21 +166,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
More information about the svn-src-all
mailing list