lkml.org 
[lkml]   [2008]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 5/6] x86: use reboot_type on EFI 32
From
Date
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>

---
arch/x86/kernel/efi.c | 2 --
1 file changed, 2 deletions(-)

--- 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


\
 
 \ /
  Last update: 2008-01-25 06:59    [W:0.058 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site