Skip to content

Commit

Permalink
[PATCH] machine_shutdown: Typo fix to actually allow specifying which…
Browse files Browse the repository at this point in the history
… cpu to reboot on

This appears to be a typo I introduced when cleaning
this code up earlier. Ooops.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Jul 26, 2005
1 parent 68acc05 commit d8e392e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/i386/kernel/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ void machine_shutdown(void)
reboot_cpu_id = 0;

/* See if there has been given a command line override */
if ((reboot_cpu_id != -1) && (reboot_cpu < NR_CPUS) &&
if ((reboot_cpu != -1) && (reboot_cpu < NR_CPUS) &&
cpu_isset(reboot_cpu, cpu_online_map)) {
reboot_cpu_id = reboot_cpu;
}
Expand Down

0 comments on commit d8e392e

Please sign in to comment.