From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: [patch 15/26] x86: xen: Use the core irq stats function Date: Sun, 23 Feb 2014 21:40:16 -0000 Message-ID: <20140223212737.869264085@linutronix.de> References: <20140223212703.511977310@linutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WHgmW-00069o-SS for xen-devel@lists.xenproject.org; Sun, 23 Feb 2014 21:40:17 +0000 Content-Disposition: inline; filename=x86-xen-use-core-irq-stats-function.patch List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: LKML Cc: Peter Zijlstra , Xen , Ingo Molnar , x86 List-Id: xen-devel@lists.xenproject.org Let the core do the irq_desc resolution. No functional change. Signed-off-by: Thomas Gleixner Cc: Konrad Rzeszutek Wilk Cc: Xen Cc: x86 --- arch/x86/xen/spinlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: tip/arch/x86/xen/spinlock.c =================================================================== --- tip.orig/arch/x86/xen/spinlock.c +++ tip/arch/x86/xen/spinlock.c @@ -183,7 +183,7 @@ __visible void xen_lock_spinning(struct local_irq_save(flags); - kstat_incr_irqs_this_cpu(irq, irq_to_desc(irq)); + kstat_incr_irq_this_cpu(irq); out: cpumask_clear_cpu(cpu, &waiting_cpus); w->lock = NULL;