x86: Xen: Use the core irq stats function
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Feb 2014 21:40:16 +0000 (21:40 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 4 Mar 2014 16:37:53 +0000 (17:37 +0100)
Let the core do the irq_desc resolution.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Xen <xen-devel@lists.xenproject.org>
Cc: x86 <x86@kernel.org>
Link: http://lkml.kernel.org/r/20140223212737.869264085@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/xen/spinlock.c

index 581521c843a576d4264567e90c11dfaf645d6238..4d3acc34a998e5aca97d58c9573e822a29905626 100644 (file)
@@ -183,7 +183,7 @@ __visible void xen_lock_spinning(struct arch_spinlock *lock, __ticket_t want)
 
        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;