From bbaa7a7758d55f69412100b1f9f5c63477d23197 Mon Sep 17 00:00:00 2001 From: "Eric W. Biederman" Date: Tue, 26 Jul 2005 12:07:01 -0600 Subject: [PATCH] --- yaml --- r: 5056 b: refs/heads/master c: d8e392e7c8f019657ff3ebe70a45d234990831db h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/i386/kernel/reboot.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index f3169f7cc4f0..2b3562d24cb6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 68acc05d0120e19c850e1f347ee96055f5aa032f +refs/heads/master: d8e392e7c8f019657ff3ebe70a45d234990831db diff --git a/trunk/arch/i386/kernel/reboot.c b/trunk/arch/i386/kernel/reboot.c index d473350aa055..1049876702aa 100644 --- a/trunk/arch/i386/kernel/reboot.c +++ b/trunk/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; }