diff options
Diffstat (limited to 'include/asm-x86/e820.h')
-rw-r--r-- | include/asm-x86/e820.h | 9 |
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, | |||
70 | extern void update_e820(void); | 70 | extern void update_e820(void); |
71 | extern void e820_setup_gap(void); | 71 | extern void e820_setup_gap(void); |
72 | 72 | ||
73 | #if defined(CONFIG_X86_64) || \ | ||
74 | (defined(CONFIG_X86_32) && defined(CONFIG_HIBERNATION)) | ||
75 | extern void e820_mark_nosave_regions(unsigned long limit_pfn); | ||
76 | #else | ||
77 | static inline void e820_mark_nosave_regions(unsigned long limit_pfn) | ||
78 | { | ||
79 | } | ||
80 | #endif | ||
81 | |||
73 | extern u64 find_e820_area(u64 start, u64 end, u64 size, u64 align); | 82 | extern u64 find_e820_area(u64 start, u64 end, u64 size, u64 align); |
74 | extern u64 find_e820_area_size(u64 start, u64 *sizep, u64 align); | 83 | extern u64 find_e820_area_size(u64 start, u64 *sizep, u64 align); |
75 | extern void reserve_early(u64 start, u64 end, char *name); | 84 | extern void reserve_early(u64 start, u64 end, char *name); |