Correctly specify assembler constrains for synchronization instructions.
MFC after: 3 days
This commit is contained in:
parent
06b4e48852
commit
14758466eb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user