Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120917
b: refs/heads/master
c: b47b928
h: refs/heads/master
i:
  120915: 8dc1892
v: v3
  • Loading branch information
H. Peter Anvin committed Nov 24, 2008
1 parent 143d899 commit 69cc2cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3889d0cea2b73049bdca062d9ff1e5d33468289c
refs/heads/master: b47b92884212008b4bd044ba6b48b93c00b10ec6
8 changes: 4 additions & 4 deletions trunk/arch/x86/kernel/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,20 +384,20 @@ static void native_machine_emergency_restart(void)
load_idt(&no_idt);
__asm__ __volatile__("int3");

reboot_type = BOOT_CF9_COND;
reboot_type = BOOT_KBD;
break;

#ifdef CONFIG_X86_32
case BOOT_BIOS:
machine_real_restart(jump_to_bios, sizeof(jump_to_bios));

reboot_type = BOOT_CF9_COND;
reboot_type = BOOT_KBD;
break;
#endif

case BOOT_ACPI:
acpi_reboot();
reboot_type = BOOT_CF9_COND;
reboot_type = BOOT_KBD;
break;

case BOOT_EFI:
Expand All @@ -406,7 +406,7 @@ static void native_machine_emergency_restart(void)
EFI_RESET_WARM :
EFI_RESET_COLD,
EFI_SUCCESS, 0, NULL);
reboot_type = BOOT_CF9_COND;
reboot_type = BOOT_KBD;
break;

case BOOT_CF9:
Expand Down

0 comments on commit 69cc2cb

Please sign in to comment.