diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-07-10 23:38:26 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-11 04:24:04 -0400 |
commit | f361a450bf1ad14e2b003217dbf3958638631265 (patch) | |
tree | 10c1e4dcc0047f6c37387cada6a0bceba088d2d2 /include | |
parent | f302a5bbe5eb95f3d4227d5bd0e9b92b1b125f4f (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.h | 3 | ||||
-rw-r--r-- | include/asm-x86/page.h | 1 |
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); | |||
99 | extern void early_res_to_bootmem(u64 start, u64 end); | 99 | extern void early_res_to_bootmem(u64 start, u64 end); |
100 | extern u64 early_reserve_e820(u64 startt, u64 sizet, u64 align); | 100 | extern u64 early_reserve_e820(u64 startt, u64 sizet, u64 align); |
101 | 101 | ||
102 | extern unsigned long e820_end(void); | 102 | extern unsigned long e820_end_of_ram_pfn(void); |
103 | extern unsigned long e820_end_of_low_ram_pfn(void); | ||
103 | extern int e820_find_active_region(const struct e820entry *ei, | 104 | extern 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, | |||
61 | extern void unmap_devmem(unsigned long pfn, unsigned long size, | 61 | extern void unmap_devmem(unsigned long pfn, unsigned long size, |
62 | pgprot_t vma_prot); | 62 | pgprot_t vma_prot); |
63 | 63 | ||
64 | extern unsigned long max_low_pfn_mapped; | ||
64 | extern unsigned long max_pfn_mapped; | 65 | extern unsigned long max_pfn_mapped; |
65 | 66 | ||
66 | struct page; | 67 | struct page; |