x86: reserve EFI memory map with reserve_early
authorHuang, Ying <ying.huang@intel.com>
Mon, 2 Jun 2008 06:26:21 +0000 (14:26 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 5 Jun 2008 13:10:02 +0000 (15:10 +0200)
commitecacf09f7d26b2317e8b1d59fa40f62081fad0bb
treeec54663f20002c4275b6e0f3ea194d616e4b222e
parentd0ec2c6f2c2f0478b34ae78b3e65f60a561ac807
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>
arch/x86/kernel/efi.c
arch/x86/kernel/efi_64.c
arch/x86/kernel/setup_32.c
arch/x86/kernel/setup_64.c
include/asm-x86/efi.h