mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +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
|
#else
|
||||||
#define prefetch(x)
|
#define prefetch(x)
|
||||||
#endif
|
#endif
|
||||||
|
#else /* !i386 && !amd64 */
|
||||||
|
#define mb()
|
||||||
|
#define rmb()
|
||||||
|
#define wmb()
|
||||||
|
#define smp_mb()
|
||||||
#endif
|
#endif
|
||||||
#define DBG_RX (1 << 0)
|
#define DBG_RX (1 << 0)
|
||||||
static const int debug_flags = DBG_RX;
|
static const int debug_flags = DBG_RX;
|
||||||
|
Loading…
Reference in New Issue
Block a user