From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261989AbVGZSMU (ORCPT ); Tue, 26 Jul 2005 14:12:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262013AbVGZSJu (ORCPT ); Tue, 26 Jul 2005 14:09:50 -0400 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:51847 "EHLO ebiederm.dsl.xmission.com") by vger.kernel.org with ESMTP id S261989AbVGZSHi (ORCPT ); Tue, 26 Jul 2005 14:07:38 -0400 To: Andrew Morton Cc: Linus Torvalds , Subject: [PATCH 18/23] machine_shutdown: Typo fix to actually allow specifying which cpu to reboot on References: From: ebiederm@xmission.com (Eric W. Biederman) Date: Tue, 26 Jul 2005 12:07:01 -0600 In-Reply-To: (Eric W. Biederman's message of "Tue, 26 Jul 2005 12:03:08 -0600") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This appears to be a typo I introduced when cleaning this code up earlier. Ooops. Signed-off-by: Eric W. Biederman --- 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; }