projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ebfe51
)
Fix PPC Mac OS X memory access problem in SMP.h (#1362)
author
Thorkil Naur
<naur@post11.tele.dk>
Fri, 18 May 2007 16:59:57 +0000
(16:59 +0000)
committer
Thorkil Naur
<naur@post11.tele.dk>
Fri, 18 May 2007 16:59:57 +0000
(16:59 +0000)
includes/SMP.h
patch
|
blob
|
history
diff --git
a/includes/SMP.h
b/includes/SMP.h
index
bba80f7
..
74fbf9a
100644
(file)
--- a/
includes/SMP.h
+++ b/
includes/SMP.h
@@
-75,7
+75,7
@@
xchg(StgPtr p, StgWord w)
"1: lwarx %0, 0, %2\n"
" stwcx. %1, 0, %2\n"
" bne- 1b"
- :"=r" (result)
+ :"=&r" (result)
:"r" (w), "r" (p)
);
#elif sparc_HOST_ARCH