]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] machine_shutdown: Typo fix to actually allow specifying which cpu to reboot on
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 26 Jul 2005 18:07:01 +0000 (12:07 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:35:44 +0000 (14:35 -0700)
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>
arch/i386/kernel/reboot.c

index d473350aa05506297ff36583a6028743e1be0b81..1049876702aa33c0d63de40b12a0dc3ce048ac95 100644 (file)
@@ -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;
        }