From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756306AbYHSAjX (ORCPT ); Mon, 18 Aug 2008 20:39:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754574AbYHSAjN (ORCPT ); Mon, 18 Aug 2008 20:39:13 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:40122 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754326AbYHSAjM (ORCPT ); Mon, 18 Aug 2008 20:39:12 -0400 Date: Tue, 19 Aug 2008 02:38:56 +0200 From: Ingo Molnar To: Yinghai Lu Cc: Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] irq: rename irq_desc() to to_irq_desc() - fix #3 Message-ID: <20080819003856.GA5486@elte.hu> References: <1219092290-30154-1-git-send-email-yhlu.kernel@gmail.com> <1219092290-30154-2-git-send-email-yhlu.kernel@gmail.com> <1219092290-30154-3-git-send-email-yhlu.kernel@gmail.com> <20080819001126.GB9914@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080819001126.GB9914@elte.hu> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ingo Molnar wrote: > * Yinghai Lu wrote: > > > add create_irq_nr, and retore create_irq to old > > applied all 3 patches to tip/irq/sparseirq - thanks Yinghai! build fix for tip/master, from tip/x86/spinlocks. I merged that branch into tip/irq/sparseirq and applied this fix. Ingo ------------> >>From 1f73df742c77472d2e14e47b8c568218952af1d7 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Tue, 19 Aug 2008 02:33:39 +0200 Subject: [PATCH] irq: build fix fix: arch/x86/xen/spinlock.c: In function 'xen_spin_lock_slow': arch/x86/xen/spinlock.c:90: error: 'struct kernel_stat' has no member named 'irqs' Signed-off-by: Ingo Molnar --- arch/x86/xen/spinlock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/xen/spinlock.c b/arch/x86/xen/spinlock.c index 8dc4d31..dc21378 100644 --- a/arch/x86/xen/spinlock.c +++ b/arch/x86/xen/spinlock.c @@ -87,7 +87,7 @@ static noinline int xen_spin_lock_slow(struct raw_spinlock *lock) /* block until irq becomes pending */ xen_poll_irq(irq); - kstat_this_cpu.irqs[irq]++; + kstat_irqs_this_cpu(&irq_desc[irq])++; out: unspinning_lock(xl);