1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-19 01:10:57 -08:00

Should use arenaalign, not vmalign

Copied from Perforce
 Change: 16536
 ServerID: perforce.ravenbrook.com
This commit is contained in:
David Jones 1997-02-11 16:27:53 +00:00
parent b45823b022
commit fb987e4bdd

View file

@ -2,7 +2,7 @@
*
* MANUAL RANK GUARDIAN POOL
*
* $HopeName$
* $HopeName: MMsrc!poolmrg.c(trunk.1) $
* Copyright(C) 1995,1997 Harlequin Group, all rights reserved
*
* READERSHIP
@ -35,7 +35,7 @@
#include "poolmrg.h"
SRCID(poolmrg, "$HopeName$");
SRCID(poolmrg, "$HopeName: MMsrc!poolmrg.c(trunk.1) $");
#define MRGSig ((Sig)0x519B0349)
@ -134,7 +134,7 @@ static Res MRGGroupCreate(MRGGroup *groupReturn, MRG mrg)
guardians = mrg->extendBy / sizeof(Addr); /* per seg */
linksegsize = guardians * sizeof(RingStruct);
linksegsize = SizeAlignUp(linksegsize, VMAlign());
linksegsize = SizeAlignUp(linksegsize, ArenaAlign(space));
res = PoolSegAlloc(&linkseg, pool, linksegsize);
if(res != ResOK)
goto failLinkSegAlloc;