1
0
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:
Kip Macy 2007-03-14 06:40:46 +00:00
parent 4f199f0379
commit bede276b07
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167528

View File

@ -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;