diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2012-04-22 21:55:19 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2012-04-22 21:55:19 +0000 |
commit | 19e4decf83e6c61d590d19f3bc530a7d5549e48a (patch) | |
tree | 303802b9789ac6bbcd7497540549f66b0e728436 /sys | |
parent | 1c56974f7a0b1bec1ffa7ae8f35f90036d98001e (diff) | |
download | FreeBSD-src-19e4decf83e6c61d590d19f3bc530a7d5549e48a.zip FreeBSD-src-19e4decf83e6c61d590d19f3bc530a7d5549e48a.tar.gz |
Correctly specify assembler constrains for synchronization instructions.
MFC after: 3 days
Diffstat (limited to 'sys')
-rw-r--r-- | sys/powerpc/include/cpufunc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/powerpc/include/cpufunc.h b/sys/powerpc/include/cpufunc.h index bb01fdb..c949d53 100644 --- a/sys/powerpc/include/cpufunc.h +++ b/sys/powerpc/include/cpufunc.h @@ -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 |