Messages in this thread Patch in this message | | | Subject | [PATCH 18/23] machine_shutdown: Typo fix to actually allow specifying which cpu to reboot on | From | (Eric W. Biederman) | Date | Tue, 26 Jul 2005 12:07:01 -0600 |
| |
This appears to be a typo I introduced when cleaning this code up earlier. Ooops.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> ---
arch/i386/kernel/reboot.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
75a1cfd3c44dbea3af15e04704c7db2be70478c7 diff --git a/arch/i386/kernel/reboot.c b/arch/i386/kernel/reboot.c --- 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; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |