Unbreak mips build by taking first WAG at mb(), wmb() and rmb(). The
latter two are likely pessimal...
This commit is contained in:
parent
44e6d7240a
commit
1f2c9f3b84
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185427
@ -51,6 +51,10 @@ mips_sync(void)
|
||||
: : : "memory");
|
||||
}
|
||||
|
||||
#define mb() mips_sync()
|
||||
#define wmb() mips_sync()
|
||||
#define rmb() mips_sync()
|
||||
|
||||
/*
|
||||
* Various simple arithmetic on memory which is atomic in the presence
|
||||
* of interrupts and SMP safe.
|
||||
|
Loading…
Reference in New Issue
Block a user