* [PATCH 5/6] x86: use reboot_type on EFI 32
@ 2008-01-25 5:55 Huang, Ying
2008-01-25 9:22 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Huang, Ying @ 2008-01-25 5:55 UTC (permalink / raw)
To: Ingo Molnar, H. Peter Anvin, Thomas Gleixner, Andi Kleen; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 5/6] x86: use reboot_type on EFI 32
2008-01-25 5:55 [PATCH 5/6] x86: use reboot_type on EFI 32 Huang, Ying
@ 2008-01-25 9:22 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-01-25 9:22 UTC (permalink / raw)
To: Huang, Ying
Cc: Ingo Molnar, H. Peter Anvin, Thomas Gleixner, Andi Kleen,
linux-kernel
* Huang, Ying <ying.huang@intel.com> wrote:
> This patch makes reboot_type of BOOT_EFI is used on i386 too. Because
> correpsonding reboot code of i386 and x86_64 is merged.
> -#ifdef CONFIG_X86_64
> /* Setup for EFI runtime service */
> reboot_type = BOOT_EFI;
>
> -#endif
thanks, applied.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-25 9:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-25 5:55 [PATCH 5/6] x86: use reboot_type on EFI 32 Huang, Ying
2008-01-25 9:22 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox