Author: cgutman
Date: Wed Aug 17 14:24:36 2011
New Revision: 53287
URL:
http://svn.reactos.org/svn/reactos?rev=53287&view=rev
Log:
[HAL]
- Don't use a hard-coded constant instead of PAGE_SHIFT
Modified:
trunk/reactos/hal/halx86/generic/acpi/halacpi.c
Modified: trunk/reactos/hal/halx86/generic/acpi/halacpi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/acpi/ha…
==============================================================================
--- trunk/reactos/hal/halx86/generic/acpi/halacpi.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/generic/acpi/halacpi.c [iso-8859-1] Wed Aug 17 14:24:36 2011
@@ -422,7 +422,7 @@
else
{
/* Phase 1, use Mm */
- MmUnmapIoSpace(TableAddress, PageCount << 12);
+ MmUnmapIoSpace(TableAddress, PageCount << PAGE_SHIFT);
}
/* Cache the bios copy */