projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b587ed5
)
[project @ 2005-10-24 09:28:38 by simonmar]
author
simonmar
<unknown>
Mon, 24 Oct 2005 09:28:38 +0000
(09:28 +0000)
committer
simonmar
<unknown>
Mon, 24 Oct 2005 09:28:38 +0000
(09:28 +0000)
Fix build for way "u"
ghc/includes/Regs.h
patch
|
blob
|
history
diff --git
a/ghc/includes/Regs.h
b/ghc/includes/Regs.h
index
7333f2d
..
b65d242
100644
(file)
--- a/
ghc/includes/Regs.h
+++ b/
ghc/includes/Regs.h
@@
-328,7
+328,7
@@
GLOBAL_REG_DECL(StgRegTable *,BaseReg,REG_Base)
#ifdef SMP
#error BaseReg must be in a register for SMP
#endif
-#define BaseReg (&((struct Capability_)MainCapability).r)
+#define BaseReg (&((struct PartCapability_ *)MainCapability)->r)
#endif
#if defined(REG_Sp) && !defined(NO_GLOBAL_REG_DECLS)