aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/efi.h
diff options
context:
space:
mode:
authorHuang, Ying2008-06-02 14:26:21 +0800
committerThomas Gleixner2008-06-05 15:10:02 +0200
commitecacf09f7d26b2317e8b1d59fa40f62081fad0bb (patch)
treeec54663f20002c4275b6e0f3ea194d616e4b222e /include/asm-x86/efi.h
parentd0ec2c6f2c2f0478b34ae78b3e65f60a561ac807 (diff)
x86: reserve EFI memory map with reserve_early
This patch reserves the EFI memory map with reserve_early(). Because EFI memory map is allocated by bootloader, if it is not reserved by reserved_early(), it may be overwritten through address returned by find_e820_area(). 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/efi.h')
-rw-r--r--include/asm-x86/efi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/efi.h b/include/asm-x86/efi.h
index d53004b855cc..7ed2bd7a7f51 100644
--- a/include/asm-x86/efi.h
+++ b/include/asm-x86/efi.h
@@ -90,7 +90,7 @@ extern void *efi_ioremap(unsigned long addr, unsigned long size);
#endif /* CONFIG_X86_32 */
-extern void efi_reserve_bootmem(void);
+extern void efi_reserve_early(void);
extern void efi_call_phys_prelog(void);
extern void efi_call_phys_epilog(void);