diff options
Diffstat (limited to 'includes/SMP.h')
-rw-r--r-- | includes/SMP.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/SMP.h b/includes/SMP.h index 68f16905c6..515516a982 100644 --- a/includes/SMP.h +++ b/includes/SMP.h @@ -76,8 +76,9 @@ cas(StgVolatilePtr p, StgWord o, StgWord n) " stwcx. %2, 0, %3\n" " bne- 1b\n" "2:" - :"=r" (result) + :"=&r" (result) :"r" (o), "r" (n), "r" (p) + :"cc", "memory" ); return result; #else |