Define mb(), rmb() and wmb() for real.
This commit is contained in:
parent
db7f0b974f
commit
ff8c51cf3e
@ -29,9 +29,9 @@
|
||||
#ifndef _MACHINE_ATOMIC_H_
|
||||
#define _MACHINE_ATOMIC_H_
|
||||
|
||||
#define mb()
|
||||
#define wmb()
|
||||
#define rmb()
|
||||
#define mb() __asm __volatile("mf")
|
||||
#define wmb() mb()
|
||||
#define rmb() mb()
|
||||
|
||||
/*
|
||||
* Various simple arithmetic on memory which is atomic in the presence
|
||||
|
Loading…
x
Reference in New Issue
Block a user