From f0d5cbb66aa222e3eb0777d0d4b0d70a03d49188 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Wed, 10 Sep 2008 16:05:24 +0000 Subject: Update the usage of ALIGN_VARIABLE for the interface change. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5870 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Dxe/Mem/Pool.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'MdeModulePkg') diff --git a/MdeModulePkg/Core/Dxe/Mem/Pool.c b/MdeModulePkg/Core/Dxe/Mem/Pool.c index 0691c4a..c60761a 100644 --- a/MdeModulePkg/Core/Dxe/Mem/Pool.c +++ b/MdeModulePkg/Core/Dxe/Mem/Pool.c @@ -236,7 +236,6 @@ CoreAllocatePoolI ( UINTN Index; UINTN FSize; UINTN Offset; - UINTN Adjustment; UINTN NoPages; ASSERT_LOCKED (&gMemoryLock); @@ -250,7 +249,7 @@ CoreAllocatePoolI ( // we don't get an unaligned access fault later when // pool_Tail is being initialized // - ALIGN_VARIABLE (Size, Adjustment); + Size = ALIGN_VARIABLE (Size); Size += POOL_OVERHEAD; Index = SIZE_TO_LIST(Size); -- cgit v1.1