Skip to content

Commit

Permalink
x86: use reboot_type on EFI 32
Browse files Browse the repository at this point in the history
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 <ying.huang@intel.com>

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Huang, Ying authored and Ingo Molnar committed Jan 30, 2008
1 parent 19f0dda commit bed23c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/kernel/efi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bed23c6

Please sign in to comment.