x86: introduce max_low_pfn_mapped for 64-bit
authorYinghai Lu <yhlu.kernel@gmail.com>
Fri, 11 Jul 2008 03:38:26 +0000 (20:38 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 08:24:04 +0000 (10:24 +0200)
commitf361a450bf1ad14e2b003217dbf3958638631265
tree10c1e4dcc0047f6c37387cada6a0bceba088d2d2
parentf302a5bbe5eb95f3d4227d5bd0e9b92b1b125f4f
x86: introduce max_low_pfn_mapped for 64-bit

when more than 4g memory is installed, don't map the big hole below 4g.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
12 files changed:
arch/x86/kernel/acpi/boot.c
arch/x86/kernel/cpu/amd_64.c
arch/x86/kernel/e820.c
arch/x86/kernel/efi.c
arch/x86/kernel/setup.c
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c
arch/x86/mm/pageattr.c
arch/x86/mm/pat.c
arch/x86/pci/i386.c
include/asm-x86/e820.h
include/asm-x86/page.h