diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-19 13:26:08 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-19 13:26:08 -0800 |
commit | ac88ee3b6cbac80c32556a39fe16c4bbc55fcbc5 (patch) | |
tree | 5053b061053b244e1ed3fd55bc0736c8dd1e6753 /fs/proc | |
parent | a54455766b9e3d3c27a6cef758355d2591d81d68 (diff) | |
parent | c291ee622165cb2c8d4e7af63fffd499354a23be (diff) | |
download | op-kernel-dev-ac88ee3b6cbac80c32556a39fe16c4bbc55fcbc5.zip op-kernel-dev-ac88ee3b6cbac80c32556a39fe16c4bbc55fcbc5.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/stat.c b/fs/proc/stat.c index bf2d03f..510413eb 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" |