diff options
author | Huang, Ying <ying.huang@intel.com> | 2008-06-02 02:26:18 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-06-05 09:10:02 -0400 |
commit | d0ec2c6f2c2f0478b34ae78b3e65f60a561ac807 (patch) | |
tree | 4d4f6d1e11aa45bc4084e733f52d402e9582d1c7 /include/asm-x86/e820.h | |
parent | d3fbe5ea9518b46a68e6b278974e92e2c3acef4a (diff) |
x86: reserve highmem pages via reserve_early
This patch makes early reserved highmem pages become reserved
pages. This can be used for highmem pages allocated by bootloader such
as EFI memory map, linked list of setup_data, etc.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Cc: andi@firstfloor.org
Cc: mingo@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/e820.h')
-rw-r--r-- | include/asm-x86/e820.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h index 44ed9c0a4dfd..8aa32323a182 100644 --- a/include/asm-x86/e820.h +++ b/include/asm-x86/e820.h | |||
@@ -86,6 +86,7 @@ extern u64 find_e820_area_size(u64 start, u64 *sizep, u64 align); | |||
86 | extern void reserve_early(u64 start, u64 end, char *name); | 86 | extern void reserve_early(u64 start, u64 end, char *name); |
87 | extern void free_early(u64 start, u64 end); | 87 | extern void free_early(u64 start, u64 end); |
88 | extern void early_res_to_bootmem(u64 start, u64 end); | 88 | extern void early_res_to_bootmem(u64 start, u64 end); |
89 | extern int page_is_reserved_early(unsigned long pagenr); | ||
89 | extern u64 early_reserve_e820(u64 startt, u64 sizet, u64 align); | 90 | extern u64 early_reserve_e820(u64 startt, u64 sizet, u64 align); |
90 | 91 | ||
91 | extern unsigned long e820_end_of_ram(void); | 92 | extern unsigned long e820_end_of_ram(void); |