diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-02-09 01:18:03 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-09 08:55:08 +0100 |
commit | 0f3c2a89c1451cdf6328f99977bd9decd4f708e1 (patch) | |
tree | 5f06396e409410e5d506f72fe6abebc376a5e689 /arch/powerpc/include/asm/ps3.h | |
parent | fix "sparseirq: use kstat_irqs_cpu on non-x86 architectures too" (diff) | |
download | linux-0f3c2a89c1451cdf6328f99977bd9decd4f708e1.tar.xz linux-0f3c2a89c1451cdf6328f99977bd9decd4f708e1.zip |
irq: clear kstat_irqs
Impact: get correct kstat_irqs [/proc/interrupts] for msi/msi-x etc
need to call clear_kstat_irqs(), so when we reuse that irq_desc,
we get correct kstat in /proc/interrupts.
This makes /proc/interrupts not have <NULL> entries.
Don't need to worry about arch that doesn't support genirq, because they
will not call dynamic_irq_cleanup().
v2: simplify and make clear_kstat_irqs more robust
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/powerpc/include/asm/ps3.h')
0 files changed, 0 insertions, 0 deletions