aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/reboot.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-11-24 03:50:09 -0500
committerH. Peter Anvin <hpa@zytor.com>2008-11-24 03:50:09 -0500
commitb47b92884212008b4bd044ba6b48b93c00b10ec6 (patch)
tree9e4c3831f8c4f71bffe4c97933ddda08a7272528 /arch/x86/kernel/reboot.c
parent3889d0cea2b73049bdca062d9ff1e5d33468289c (diff)
x86: drop REBOOT_CF9_COND from reboot fallback chain
Impact: Reverts sequence of reboot fallbacks Checkin 14d7ca5c575853664d8fe4f225a77b8df1b7de7d changed the default reboot method to "pci", a.k.a. port CF9. Unfortunately this has been shown to cause lockups on at least two systems for which REBOOT_KBD worked, both Thinkpads with Intel chipsets. Checkin 3889d0cea2b73049bdca062d9ff1e5d33468289c reverted the default, but did not revert the fallback chain. This checkin reverts the fallback chain; port CF9 is now only done by explicit "reboot=pci" or a future potential DMI key. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/reboot.c')
-rw-r--r--arch/x86/kernel/reboot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 790b09fbadcb..bb387ab0eea8 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -384,20 +384,20 @@ static void native_machine_emergency_restart(void)
384 load_idt(&no_idt); 384 load_idt(&no_idt);
385 __asm__ __volatile__("int3"); 385 __asm__ __volatile__("int3");
386 386
387 reboot_type = BOOT_CF9_COND; 387 reboot_type = BOOT_KBD;
388 break; 388 break;
389 389
390#ifdef CONFIG_X86_32 390#ifdef CONFIG_X86_32
391 case BOOT_BIOS: 391 case BOOT_BIOS:
392 machine_real_restart(jump_to_bios, sizeof(jump_to_bios)); 392 machine_real_restart(jump_to_bios, sizeof(jump_to_bios));
393 393
394 reboot_type = BOOT_CF9_COND; 394 reboot_type = BOOT_KBD;
395 break; 395 break;
396#endif 396#endif
397 397
398 case BOOT_ACPI: 398 case BOOT_ACPI:
399 acpi_reboot(); 399 acpi_reboot();
400 reboot_type = BOOT_CF9_COND; 400 reboot_type = BOOT_KBD;
401 break; 401 break;
402 402
403 case BOOT_EFI: 403 case BOOT_EFI:
@@ -406,7 +406,7 @@ static void native_machine_emergency_restart(void)
406 EFI_RESET_WARM : 406 EFI_RESET_WARM :
407 EFI_RESET_COLD, 407 EFI_RESET_COLD,
408 EFI_SUCCESS, 0, NULL); 408 EFI_SUCCESS, 0, NULL);
409 reboot_type = BOOT_CF9_COND; 409 reboot_type = BOOT_KBD;
410 break; 410 break;
411 411
412 case BOOT_CF9: 412 case BOOT_CF9: