aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/e820.h
diff options
context:
space:
mode:
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);