Add an inline to call eieio.
("Enforce In-order Execution of I/O". I am not making this up.)
This commit is contained in:
parent
a55c84e369
commit
bb87c74c1b
@ -101,6 +101,13 @@ mfdec(void)
|
||||
return (value);
|
||||
}
|
||||
|
||||
static __inline void
|
||||
eieio(void)
|
||||
{
|
||||
|
||||
__asm __volatile ("eieio");
|
||||
}
|
||||
|
||||
static __inline void
|
||||
isync(void)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user