#define memory barrier macros for the non-i386 && non-amd64 case
This commit is contained in:
parent
4f199f0379
commit
bede276b07
@ -115,7 +115,11 @@ void prefetch(void *x)
|
||||
#else
|
||||
#define prefetch(x)
|
||||
#endif
|
||||
|
||||
#else /* !i386 && !amd64 */
|
||||
#define mb()
|
||||
#define rmb()
|
||||
#define wmb()
|
||||
#define smp_mb()
|
||||
#endif
|
||||
#define DBG_RX (1 << 0)
|
||||
static const int debug_flags = DBG_RX;
|
||||
|
Loading…
Reference in New Issue
Block a user