summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/SMP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SMP.h b/includes/SMP.h
index b410c6eb47..89aa420adf 100644
--- a/includes/SMP.h
+++ b/includes/SMP.h
@@ -103,7 +103,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;