From: Huang, Ying Date: Wed, 30 Jan 2008 12:34:10 +0000 (+0100) Subject: x86: use reboot_type on EFI 32 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bed23c67fe077b4d66cb3329263d7cfa33b3fd67;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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: Huang Ying Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/efi.c b/arch/x86/kernel/efi.c index a70fe77354b8..174b067b9d03 100644 --- a/arch/x86/kernel/efi.c +++ b/arch/x86/kernel/efi.c @@ -371,11 +371,9 @@ void __init efi_init(void) printk(KERN_WARNING "Kernel-defined memdesc" "doesn't match the one from EFI!\n"); -#ifdef CONFIG_X86_64 /* Setup for EFI runtime service */ reboot_type = BOOT_EFI; -#endif #if EFI_DEBUG print_efi_memmap(); #endif