aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/e820.h
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-05-20 23:10:58 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 05:35:53 -0400
commitbf62f3981c7076714e3b9f5fa6989a806cad02bf (patch)
tree8c47942af4b670d6381e853ff22f085b336ebc68 /include/asm-x86/e820.h
parentaafbdf71f1d3aeffd679b1a86e1b28f71515856c (diff)
x86: move e820_mark_nosave_regions to e820.c
and make e820_mark_nosave_regions to take limit_pfn to use max_low_pfn for 32bit and end_pfn for 64bit Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/e820.h')
-rw-r--r--include/asm-x86/e820.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h
index 5a58e2bb1d78..4266a2c5f2e8 100644
--- a/include/asm-x86/e820.h
+++ b/include/asm-x86/e820.h
@@ -70,6 +70,15 @@ extern u64 update_memory_range(u64 start, u64 size, unsigned old_type,
70extern void update_e820(void); 70extern void update_e820(void);
71extern void e820_setup_gap(void); 71extern void e820_setup_gap(void);
72 72
73#if defined(CONFIG_X86_64) || \
74 (defined(CONFIG_X86_32) && defined(CONFIG_HIBERNATION))
75extern void e820_mark_nosave_regions(unsigned long limit_pfn);
76#else
77static inline void e820_mark_nosave_regions(unsigned long limit_pfn)
78{
79}
80#endif
81
73extern u64 find_e820_area(u64 start, u64 end, u64 size, u64 align); 82extern u64 find_e820_area(u64 start, u64 end, u64 size, u64 align);
74extern u64 find_e820_area_size(u64 start, u64 *sizep, u64 align); 83extern u64 find_e820_area_size(u64 start, u64 *sizep, u64 align);
75extern void reserve_early(u64 start, u64 end, char *name); 84extern void reserve_early(u64 start, u64 end, char *name);