Correctly specify assembler constrains for synchronization instructions.

MFC after: 3 days
This commit is contained in:
Nathan Whitehorn 2012-04-22 21:55:19 +00:00
parent 06b4e48852
commit 14758466eb

View File

@ -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