From patchwork Mon Feb 7 18:28:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Gleixner X-Patchwork-Id: 538501 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p17ISQwu002672 for ; Mon, 7 Feb 2011 18:28:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754463Ab1BGS2Z (ORCPT ); Mon, 7 Feb 2011 13:28:25 -0500 Received: from www.tglx.de ([62.245.132.106]:47598 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754357Ab1BGS2Z (ORCPT ); Mon, 7 Feb 2011 13:28:25 -0500 Received: from localhost (www.tglx.de [127.0.0.1]) by www.tglx.de (8.13.8/8.13.8/TGLX-2007100201) with ESMTP id p17IS1l7032696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Feb 2011 19:28:02 +0100 Date: Mon, 7 Feb 2011 19:28:01 +0100 (CET) From: Thomas Gleixner To: James Bottomley cc: linux-parisc@vger.kernel.org, Kyle McMartin , "James E.J. Bottomley" Subject: Re: [patch 0/8] parisc: Convert to new irq_chip functions In-Reply-To: <1297100168.8577.42.camel@mulgrave.site> Message-ID: References: <20110206204411.109238550@linutronix.de> <1297094535.8577.3.camel@mulgrave.site> <1297100168.8577.42.camel@mulgrave.site> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.95.3 at www.tglx.de X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on www.tglx.de Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 07 Feb 2011 18:28:26 +0000 (UTC) --- linux-next.orig/arch/parisc/kernel/irq.c +++ linux-next/arch/parisc/kernel/irq.c @@ -108,7 +108,7 @@ int cpu_check_affinity(unsigned int irq, int cpu_dest; /* timer and ipi have to always be received on all CPUs */ - if (CHECK_IRQ_PER_CPU(irq)) { + if (CHECK_IRQ_PER_CPU(irq_to_desc(irq)->status)) { /* Bad linux design decision. The mask has already * been set; we must reset it */ cpumask_setall(irq_desc[irq].affinity);