1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-10 14:02:43 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234589

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