X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FBlock.h;h=867a73c448dddf066d69cca9f7376650508f92ce;hb=cd0f89a0bf35c36575ea89d7c7599473a3600683;hp=55cb18a8b7e627b5d0171900e721919b5017c14f;hpb=0030fe1397258b84f2ebc2df508aeef7f30b3faa;p=ghc-hetmet.git diff --git a/ghc/includes/Block.h b/ghc/includes/Block.h index 55cb18a..867a73c 100644 --- a/ghc/includes/Block.h +++ b/ghc/includes/Block.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Block.h,v 1.12 2003/03/25 16:19:56 sof Exp $ + * $Id: Block.h,v 1.13 2003/03/28 15:13:52 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -94,7 +94,7 @@ static inline bdescr *Bdescr(StgPtr p) /* Offset of first real data block in a megablock */ #define FIRST_BLOCK_OFF \ - ((W_)BLOCK_ROUND_UP(MBLOCK_SIZE / BLOCK_SIZE * BDESCR_SIZE)) + ((W_)BLOCK_ROUND_UP(BDESCR_SIZE * (MBLOCK_SIZE / BLOCK_SIZE))) /* First data block in a given megablock */