Commit 4c1a1e30 authored by Thorkil Naur's avatar Thorkil Naur
Browse files

Fix PPC Mac OS X memory access problem in SMP.h (#1362)

parent 6ebfe518
...@@ -75,7 +75,7 @@ xchg(StgPtr p, StgWord w) ...@@ -75,7 +75,7 @@ xchg(StgPtr p, StgWord w)
"1: lwarx %0, 0, %2\n" "1: lwarx %0, 0, %2\n"
" stwcx. %1, 0, %2\n" " stwcx. %1, 0, %2\n"
" bne- 1b" " bne- 1b"
:"=r" (result) :"=&r" (result)
:"r" (w), "r" (p) :"r" (w), "r" (p)
); );
#elif sparc_HOST_ARCH #elif sparc_HOST_ARCH
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment