diff options
-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 a8d919d..ba47eb4 100644 --- a/i386/i386/xen.h +++ b/i386/i386/xen.h @@ -38,7 +38,7 @@ #define wmb() mb() MACH_INLINE unsigned long xchgl(volatile unsigned long *ptr, unsigned long x) { - __asm__ __volatile__("xchgl %0, %1" + __asm__ __volatile__("xchg %0, %1" : "=r" (x) : "m" (*(ptr)), "0" (x): "memory"); return x; |