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>
Showing
- arch/x86/kernel/efi.c 20 additions, 13 deletionsarch/x86/kernel/efi.c
- arch/x86/kernel/efi_64.c 0 additions, 6 deletionsarch/x86/kernel/efi_64.c
- arch/x86/kernel/setup_32.c 4 additions, 1 deletionarch/x86/kernel/setup_32.c
- arch/x86/kernel/setup_64.c 3 additions, 4 deletionsarch/x86/kernel/setup_64.c
- include/asm-x86/efi.h 1 addition, 1 deletioninclude/asm-x86/efi.h
Please register or sign in to comment