From 48149a428f5bc04a0bf7bcd71f7df1d66c400fcf Mon Sep 17 00:00:00 2001 From: David Welch Date: Thu, 27 Dec 2001 00:00:11 +0000 Subject: [PATCH] More fixes svn path=/trunk/; revision=2437 --- reactos/ntoskrnl/mm/freelist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/mm/freelist.c b/reactos/ntoskrnl/mm/freelist.c index e150a403c9d..42a6cb2d13c 100644 --- a/reactos/ntoskrnl/mm/freelist.c +++ b/reactos/ntoskrnl/mm/freelist.c @@ -219,7 +219,6 @@ PVOID MmInitializePageList(PVOID FirstPhysKernelAddress, { ULONG i; ULONG Reserved; - ULONG ReservedGap; NTSTATUS Status; DPRINT("MmInitializePageList(FirstPhysKernelAddress %x, " @@ -243,7 +242,7 @@ PVOID MmInitializePageList(PVOID FirstPhysKernelAddress, DPRINT("Reserved %d\n", Reserved); LastKernelAddress = PAGE_ROUND_UP(LastKernelAddress); - LastKernelAddress = ((ULONG)LastKernelAddress + (ReservedGap * PAGESIZE)); + LastKernelAddress = ((ULONG)LastKernelAddress + (Reserved * PAGESIZE)); LastPhysKernelAddress = (PVOID)PAGE_ROUND_UP(LastPhysKernelAddress); LastPhysKernelAddress = LastPhysKernelAddress + (Reserved * PAGESIZE);