x86: make max_pfn cover acpi table below 4g
authorYinghai Lu <yhlu.kernel@gmail.com>
Wed, 9 Jul 2008 01:56:38 +0000 (18:56 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 08:43:25 +0000 (10:43 +0200)
commit2dc807b37b7b8c7df445513ad2b415df4ebcaf6d
treea28cb322758351c9549c1e73f1ebcad3d85913e2
parent49c980df552499e5e8595b52448f612fdab0484a
x86: make max_pfn cover acpi table below 4g

When system have 4g less ram installed, and acpi table sit
near end of ram, make max_pfn cover them too,
so 64bit kernel don't need to mess up fixmap.

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>
arch/x86/kernel/e820.c
arch/x86/kernel/setup.c
include/asm-x86/e820.h