summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-12-19 13:26:08 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-19 13:26:08 -0800
commitac88ee3b6cbac80c32556a39fe16c4bbc55fcbc5 (patch)
tree5053b061053b244e1ed3fd55bc0736c8dd1e6753 /include/linux
parenta54455766b9e3d3c27a6cef758355d2591d81d68 (diff)
parentc291ee622165cb2c8d4e7af63fffd499354a23be (diff)
Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull irq core fix from Thomas Gleixner: "A single fix plugging a long standing race between proc/stat and proc/interrupts access and freeing of interrupt descriptors" * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: genirq: Prevent proc race against freeing of irq descriptors
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/kernel_stat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kernel_stat.h b/include/linux/kernel_stat.h
index b9376cd5a18..25a822f6f00 100644
--- a/include/linux/kernel_stat.h
+++ b/include/linux/kernel_stat.h
@@ -68,6 +68,7 @@ static inline unsigned int kstat_softirqs_cpu(unsigned int irq, int cpu)
* Number of interrupts per specific IRQ source, since bootup
*/
extern unsigned int kstat_irqs(unsigned int irq);
+extern unsigned int kstat_irqs_usr(unsigned int irq);
/*
* Number of interrupts per cpu, since bootup