summaryrefslogtreecommitdiffstats
path: root/arch/mips/sibyte/bcm1480/smp.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-02-23 22:40:14 +0100
committerThomas Gleixner <tglx@linutronix.de>2014-03-04 17:37:53 +0100
commit792d0018a5fe31ef8ef9d07a7a02081d4abdf6b7 (patch)
tree478e4cb710e6c3598451e56a3860bc3c976f857e /arch/mips/sibyte/bcm1480/smp.c
parentxen: Get rid of the last irq_desc abuse (diff)
downloadlinux-792d0018a5fe31ef8ef9d07a7a02081d4abdf6b7.tar.xz
linux-792d0018a5fe31ef8ef9d07a7a02081d4abdf6b7.zip
genirq: Add a kstat helper to increment irq stats
There is a common pattern all over the place: kstat_incr_irqs_this_cpu(irq, irq_to_desc(irq)); This results in a call to core code anyway. So provide a function which does the same thing in core. While at it, replace the butt ugly macro with an inline. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20140223212737.422068876@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/mips/sibyte/bcm1480/smp.c')
0 files changed, 0 insertions, 0 deletions