Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 311834 Details for
Bug 455430
x86: use cpu_online()
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Upstream fix for this issue
416 (text/plain), 3.60 KB, created by
Prarit Bhargava
on 2008-07-15 14:13:27 UTC
(
hide
)
Description:
Upstream fix for this issue
Filename:
MIME Type:
Creator:
Prarit Bhargava
Created:
2008-07-15 14:13:27 UTC
Size:
3.60 KB
patch
obsolete
>Return-path: <git-commits-head-owner@vger.kernel.org> >Envelope-to: arjan@infradead.org >Delivery-date: Fri, 18 Apr 2008 17:40:51 +0000 >Received: from vger.kernel.org ([209.132.176.167]) > by pentafluge.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) > id 1JmuZu-0000Tp-N2 > for arjan@infradead.org; Fri, 18 Apr 2008 17:40:51 +0000 >Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand > id S1756487AbYDRRku (ORCPT <rfc822;arjan@infradead.org>); > Fri, 18 Apr 2008 13:40:50 -0400 >Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756530AbYDRRku > (ORCPT <rfc822;git-commits-head-outgoing>); > Fri, 18 Apr 2008 13:40:50 -0400 >Received: from hera.kernel.org ([140.211.167.34]:37248 "EHLO hera.kernel.org" > rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP > id S1756487AbYDRRkt (ORCPT > <rfc822;git-commits-head@vger.kernel.org>); > Fri, 18 Apr 2008 13:40:49 -0400 >Received: from hera.kernel.org (IDENT:U2FsdGVkX1+KThbULS5qyBM8CKatpDCOc9qdWGqE9fc@localhost [127.0.0.1]) > by hera.kernel.org (8.13.8/8.13.8) with ESMTP id m3IHekhB011734 > (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) > for <git-commits-head@vger.kernel.org>; Fri, 18 Apr 2008 17:40:46 GMT >Received: (from dwmw2@localhost) > by hera.kernel.org (8.13.8/8.13.1/Submit) id m3IHeidv011717 > for git-commits-head@vger.kernel.org; Fri, 18 Apr 2008 17:40:44 GMT >Date: Fri, 18 Apr 2008 17:40:44 GMT >Message-Id: <200804181740.m3IHeidv011717@hera.kernel.org> >From: Linux Kernel Mailing List <linux-kernel@vger.kernel.org> >To: git-commits-head@vger.kernel.org >Subject: x86: use cpu_online() >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit >X-Git-Commit: 6107a7c4e2a871c37bb6c49e5e8286079f0968f9 >X-Git-Parent: 7281c96f37f784d64b0241a7b082bb13bab9580b >X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 > autolearn=ham version=3.2.3 >X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on hera.kernel.org >Sender: git-commits-head-owner@vger.kernel.org >Precedence: bulk >List-ID: <git-commits-head.vger.kernel.org> >X-Mailing-List: git-commits-head@vger.kernel.org > >Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6107a7c4e2a871c37bb6c49e5e8286079f0968f9 >Commit: 6107a7c4e2a871c37bb6c49e5e8286079f0968f9 >Parent: 7281c96f37f784d64b0241a7b082bb13bab9580b >Author: Akinobu Mita <akinobu.mita@gmail.com> >AuthorDate: Sat Apr 5 22:39:09 2008 +0900 >Committer: Ingo Molnar <mingo@elte.hu> >CommitDate: Thu Apr 17 17:41:36 2008 +0200 > > x86: use cpu_online() > > Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> > Signed-off-by: Ingo Molnar <mingo@elte.hu> >--- > arch/x86/kernel/reboot.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c >index 66cd4af..9692202 100644 >--- a/arch/x86/kernel/reboot.c >+++ b/arch/x86/kernel/reboot.c >@@ -411,12 +411,12 @@ static void native_machine_shutdown(void) > #ifdef CONFIG_X86_32 > /* See if there has been given a command line override */ > if ((reboot_cpu != -1) && (reboot_cpu < NR_CPUS) && >- cpu_isset(reboot_cpu, cpu_online_map)) >+ cpu_online(reboot_cpu)) > reboot_cpu_id = reboot_cpu; > #endif > > /* Make certain the cpu I'm about to reboot on is online */ >- if (!cpu_isset(reboot_cpu_id, cpu_online_map)) >+ if (!cpu_online(reboot_cpu_id)) > reboot_cpu_id = smp_processor_id(); > > /* Make certain I only run on the appropriate processor */ >-- >To unsubscribe from this list: send the line "unsubscribe git-commits-head" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 455430
: 311834 |
311895