From: Thomas Gleixner Date: Sun, 23 Feb 2014 21:40:14 +0000 (+0000) Subject: genirq: Add a kstat helper to increment irq stats X-Git-Tag: v3.15-rc1~152^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=792d0018a5fe31ef8ef9d07a7a02081d4abdf6b7;p=pandora-kernel.git 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 Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20140223212737.422068876@linutronix.de Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed