diff options
-rw-r--r-- | sys/mips/include/atomic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/mips/include/atomic.h b/sys/mips/include/atomic.h index 8f0190a..9f800cd 100644 --- a/sys/mips/include/atomic.h +++ b/sys/mips/include/atomic.h @@ -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. |