Date: Sun, 22 Apr 2012 21:55:20 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r234589 - head/sys/powerpc/include Message-ID: <201204222155.q3MLtKkN062185@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204222155.q3MLtKkN062185>