diff options
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/kernel/reboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/reboot.c b/arch/i386/kernel/reboot.c index d473350aa055..1049876702aa 100644 --- a/arch/i386/kernel/reboot.c +++ b/arch/i386/kernel/reboot.c | |||
@@ -284,7 +284,7 @@ void machine_shutdown(void) | |||
284 | reboot_cpu_id = 0; | 284 | reboot_cpu_id = 0; |
285 | 285 | ||
286 | /* See if there has been given a command line override */ | 286 | /* See if there has been given a command line override */ |
287 | if ((reboot_cpu_id != -1) && (reboot_cpu < NR_CPUS) && | 287 | if ((reboot_cpu != -1) && (reboot_cpu < NR_CPUS) && |
288 | cpu_isset(reboot_cpu, cpu_online_map)) { | 288 | cpu_isset(reboot_cpu, cpu_online_map)) { |
289 | reboot_cpu_id = reboot_cpu; | 289 | reboot_cpu_id = reboot_cpu; |
290 | } | 290 | } |