diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-10 16:05:24 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-10 16:05:24 +0000 |
commit | f0d5cbb66aa222e3eb0777d0d4b0d70a03d49188 (patch) | |
tree | e95c0f0485f9b85819d1446a57a1caa442a65e5a /MdeModulePkg/Core | |
parent | 3fef0f51d8600b2c5c9c8a53b8e26edf7484c0fd (diff) | |
download | edk2-f0d5cbb66aa222e3eb0777d0d4b0d70a03d49188.zip edk2-f0d5cbb66aa222e3eb0777d0d4b0d70a03d49188.tar.gz edk2-f0d5cbb66aa222e3eb0777d0d4b0d70a03d49188.tar.bz2 |
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
Diffstat (limited to 'MdeModulePkg/Core')
-rw-r--r-- | MdeModulePkg/Core/Dxe/Mem/Pool.c | 3 |
1 files changed, 1 insertions, 2 deletions
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);
|