diff options
Diffstat (limited to 'i386/i386/xen.h')
-rw-r--r-- | i386/i386/xen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/xen.h b/i386/i386/xen.h index 638d671..c681187 100644 --- a/i386/i386/xen.h +++ b/i386/i386/xen.h @@ -21,6 +21,7 @@ #ifdef MACH_XEN #ifndef __ASSEMBLER__ +#include <kern/macros.h> #include <kern/printf.h> #include <mach/machine/vm_types.h> #include <mach/vm_param.h> @@ -32,7 +33,6 @@ #include <xen/public/xen.h> /* TODO: this should be moved in appropriate non-Xen place. */ -#define barrier() __asm__ __volatile__ ("": : :"memory") #define mb() __asm__ __volatile__("lock; addl $0,0(%%esp)":::"memory") #define rmb() mb() #define wmb() mb() |