diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-01-12 00:35:56 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-12 22:01:12 +0300 |
commit | 0b0f0b1c2c87de299df6f92a8ffc0a73bd1bb960 (patch) | |
tree | c5d047cc71926b2ac5d657cce1adc577f92f4f9b /arch/mips/kernel | |
parent | d178a1eb5c034df1f74a2b67bf311afa5d6b8e95 (diff) | |
download | linux-0b0f0b1c2c87de299df6f92a8ffc0a73bd1bb960.tar.xz |
sparseirq: use kstat_irqs_cpu on non-x86 architectures too
so we could move kstat_irqs array to irq_desc struct.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c index 98f336dc3cd0..7b845ba9dff4 100644 --- a/arch/mips/kernel/irq.c +++ b/arch/mips/kernel/irq.c @@ -108,7 +108,7 @@ int show_interrupts(struct seq_file *p, void *v) seq_printf(p, "%10u ", kstat_irqs(i)); #else for_each_online_cpu(j) - seq_printf(p, "%10u ", kstat_cpu(i, j)); + seq_printf(p, "%10u ", kstat_irqs_cpu(i, j)); #endif seq_printf(p, " %14s", irq_desc[i].chip->name); seq_printf(p, " %s", action->name); |