diff options
-rw-r--r-- | ghc/includes/SMP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/includes/SMP.h b/ghc/includes/SMP.h index f4c8605dba..93af9dfa9f 100644 --- a/ghc/includes/SMP.h +++ b/ghc/includes/SMP.h @@ -63,7 +63,7 @@ cas(StgVolatilePtr p, StgWord o, StgWord n) { #if i386_HOST_ARCH || x86_64_HOST_ARCH __asm__ __volatile__ ( - "lock cmpxchg %3,%1" + "lock/cmpxchg %3,%1" :"=a"(o), "=m" (*(volatile unsigned int *)p) :"0" (o), "r" (n)); return o; |