diff options
author | Keir Fraser <keir@xen.org> | 2010-12-10 16:40:05 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-12-10 16:40:05 +0000 |
commit | 4000f53bc2751cca1a9bb868ab4b482cd28c8dc5 (patch) | |
tree | 65e5381677d7ad2cd4b5dcc026309f1b63b31e4c /xen/arch/x86/shutdown.c | |
parent | 40bb4af7c0a0c9a6cec02b6a071907dc0695045c (diff) | |
download | xen-4000f53bc2751cca1a9bb868ab4b482cd28c8dc5.tar.gz xen-4000f53bc2751cca1a9bb868ab4b482cd28c8dc5.tar.bz2 xen-4000f53bc2751cca1a9bb868ab4b482cd28c8dc5.zip |
x86: acpi: Fix reboot attempt sequence.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/shutdown.c')
-rw-r--r-- | xen/arch/x86/shutdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/shutdown.c b/xen/arch/x86/shutdown.c index 7fbc33e485..c8821ed0a1 100644 --- a/xen/arch/x86/shutdown.c +++ b/xen/arch/x86/shutdown.c @@ -358,7 +358,7 @@ void machine_restart(unsigned int delay_millisecs) * After this we revert to our usual sequence: * KBD -> TRIPLE -> KBD -> TRIPLE -> KBD -> ... */ - reboot_type = (((attempt == 0) && (orig_reboot_type == BOOT_ACPI)) + reboot_type = (((attempt == 1) && (orig_reboot_type == BOOT_ACPI)) ? BOOT_ACPI : BOOT_TRIPLE); break; case BOOT_TRIPLE: |