Skip to content
Snippets Groups Projects
Commit bed23c67 authored by Huang, Ying's avatar Huang, Ying Committed by Ingo Molnar
Browse files

x86: use reboot_type on EFI 32


This patch makes reboot_type of BOOT_EFI is used on i386 too. Because
correpsonding reboot code of i386 and x86_64 is merged.

Signed-off-by: default avatarHuang Ying <ying.huang@intel.com>

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 19f0dda9
No related branches found
No related tags found
No related merge requests found
...@@ -371,11 +371,9 @@ void __init efi_init(void) ...@@ -371,11 +371,9 @@ void __init efi_init(void)
printk(KERN_WARNING "Kernel-defined memdesc" printk(KERN_WARNING "Kernel-defined memdesc"
"doesn't match the one from EFI!\n"); "doesn't match the one from EFI!\n");
#ifdef CONFIG_X86_64
/* Setup for EFI runtime service */ /* Setup for EFI runtime service */
reboot_type = BOOT_EFI; reboot_type = BOOT_EFI;
#endif
#if EFI_DEBUG #if EFI_DEBUG
print_efi_memmap(); print_efi_memmap();
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment