aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2005-07-26 12:07:01 -0600
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-26 14:35:44 -0700
commitd8e392e7c8f019657ff3ebe70a45d234990831db (patch)
tree198e35aafaf37e9ae2ac7ecf7996c98b4eed26d7 /arch/i386
parent68acc05d0120e19c850e1f347ee96055f5aa032f (diff)
downloadkernel_samsung_espresso10-d8e392e7c8f019657ff3ebe70a45d234990831db.zip
kernel_samsung_espresso10-d8e392e7c8f019657ff3ebe70a45d234990831db.tar.gz
kernel_samsung_espresso10-d8e392e7c8f019657ff3ebe70a45d234990831db.tar.bz2
[PATCH] machine_shutdown: Typo fix to actually allow specifying which 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>
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/kernel/reboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/reboot.c b/arch/i386/kernel/reboot.c
index d473350..1049876 100644
--- a/arch/i386/kernel/reboot.c
+++ b/arch/i386/kernel/reboot.c
@@ -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;
}