summaryrefslogtreecommitdiff
path: root/fs/proc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-12-20 00:26:08 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-20 00:26:08 +0300
commitac88ee3b6cbac80c32556a39fe16c4bbc55fcbc5 (patch)
tree5053b061053b244e1ed3fd55bc0736c8dd1e6753 /fs/proc
parenta54455766b9e3d3c27a6cef758355d2591d81d68 (diff)
parentc291ee622165cb2c8d4e7af63fffd499354a23be (diff)
downloadlinux-ac88ee3b6cbac80c32556a39fe16c4bbc55fcbc5.tar.xz
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 'fs/proc')
-rw-r--r--fs/proc/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/stat.c b/fs/proc/stat.c
index bf2d03f8fd3e..510413eb25b8 100644
--- a/fs/proc/stat.c
+++ b/fs/proc/stat.c
@@ -159,7 +159,7 @@ static int show_stat(struct seq_file *p, void *v)
/* sum again ? it could be updated? */
for_each_irq_nr(j)
- seq_put_decimal_ull(p, ' ', kstat_irqs(j));
+ seq_put_decimal_ull(p, ' ', kstat_irqs_usr(j));
seq_printf(p,
"\nctxt %llu\n"