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:
00a4cdf
)
warning fix: don't redefine BLOCKS_PER_MBLOCK
author
Simon Marlow
<marlowsd@gmail.com>
Fri, 10 Dec 2010 09:40:02 +0000
(09:40 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Fri, 10 Dec 2010 09:40:02 +0000
(09:40 +0000)
includes/rts/storage/Block.h
patch
|
blob
|
history
diff --git
a/includes/rts/storage/Block.h
b/includes/rts/storage/Block.h
index
4fb5a96
..
f39b99c
100644
(file)
--- a/
includes/rts/storage/Block.h
+++ b/
includes/rts/storage/Block.h
@@
-149,7
+149,9
@@
EXTERN_INLINE bdescr *Bdescr(StgPtr p)
/* Number of usable blocks in a megablock */
+#ifndef CMINUSMINUS // already defined in DerivedConstants.h
#define BLOCKS_PER_MBLOCK ((MBLOCK_SIZE - FIRST_BLOCK_OFF) / BLOCK_SIZE)
+#endif
/* How many blocks in this megablock group */