summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/e820.h
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-07-08 18:56:38 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-09 10:43:25 +0200
commit2dc807b37b7b8c7df445513ad2b415df4ebcaf6d (patch)
treea28cb322758351c9549c1e73f1ebcad3d85913e2 /include/asm-x86/e820.h
parent49c980df552499e5e8595b52448f612fdab0484a (diff)
downloadop-kernel-dev-2dc807b37b7b8c7df445513ad2b415df4ebcaf6d.zip
op-kernel-dev-2dc807b37b7b8c7df445513ad2b415df4ebcaf6d.tar.gz
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>
Diffstat (limited to 'include/asm-x86/e820.h')
-rw-r--r--include/asm-x86/e820.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h
index a20d0a7f..78c03d7 100644
--- a/include/asm-x86/e820.h
+++ b/include/asm-x86/e820.h
@@ -99,7 +99,7 @@ extern void free_early(u64 start, u64 end);
extern void early_res_to_bootmem(u64 start, u64 end);
extern u64 early_reserve_e820(u64 startt, u64 sizet, u64 align);
-extern unsigned long e820_end_of_ram(void);
+extern unsigned long e820_end(void);
extern int e820_find_active_region(const struct e820entry *ei,
unsigned long start_pfn,
unsigned long last_pfn,
OpenPOWER on IntegriCloud