mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-28 11:57:28 +00:00
#define memory barrier macros for the non-i386 && non-amd64 case
This commit is contained in:
parent
4f199f0379
commit
bede276b07
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167528
@ -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