aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-07-10 23:38:26 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-11 04:24:04 -0400
commitf361a450bf1ad14e2b003217dbf3958638631265 (patch)
tree10c1e4dcc0047f6c37387cada6a0bceba088d2d2 /include
parentf302a5bbe5eb95f3d4227d5bd0e9b92b1b125f4f (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/e820.h3
-rw-r--r--include/asm-x86/page.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h
index 78c03d7bf441..33e793e991d0 100644
--- a/include/asm-x86/e820.h
+++ b/include/asm-x86/e820.h
@@ -99,7 +99,8 @@ extern void free_early(u64 start, u64 end);
99extern void early_res_to_bootmem(u64 start, u64 end); 99extern void early_res_to_bootmem(u64 start, u64 end);
100extern u64 early_reserve_e820(u64 startt, u64 sizet, u64 align); 100extern u64 early_reserve_e820(u64 startt, u64 sizet, u64 align);
101 101
102extern unsigned long e820_end(void); 102extern unsigned long e820_end_of_ram_pfn(void);
103extern unsigned long e820_end_of_low_ram_pfn(void);
103extern int e820_find_active_region(const struct e820entry *ei, 104extern int e820_find_active_region(const struct e820entry *ei,
104 unsigned long start_pfn, 105 unsigned long start_pfn,
105 unsigned long last_pfn, 106 unsigned long last_pfn,
diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h
index b52ed85f32f5..28d7b4533b1a 100644
--- a/include/asm-x86/page.h
+++ b/include/asm-x86/page.h
@@ -61,6 +61,7 @@ extern void map_devmem(unsigned long pfn, unsigned long size,
61extern void unmap_devmem(unsigned long pfn, unsigned long size, 61extern void unmap_devmem(unsigned long pfn, unsigned long size,
62 pgprot_t vma_prot); 62 pgprot_t vma_prot);
63 63
64extern unsigned long max_low_pfn_mapped;
64extern unsigned long max_pfn_mapped; 65extern unsigned long max_pfn_mapped;
65 66
66struct page; 67struct page;