Date: Thu, 26 Apr 2012 13:57:41 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r234705 - stable/9/sys/powerpc/include Message-ID: <201204261357.q3QDvfS4051705@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204261357.q3QDvfS4051705>