summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/irq_alpha.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-01-11 22:35:56 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-12 20:01:12 +0100
commit0b0f0b1c2c87de299df6f92a8ffc0a73bd1bb960 (patch)
treec5d047cc71926b2ac5d657cce1adc577f92f4f9b /arch/alpha/kernel/irq_alpha.c
parentsparseirq: fix build with unknown irq_desc struct (diff)
downloadlinux-0b0f0b1c2c87de299df6f92a8ffc0a73bd1bb960.tar.xz
linux-0b0f0b1c2c87de299df6f92a8ffc0a73bd1bb960.zip
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/alpha/kernel/irq_alpha.c')
-rw-r--r--arch/alpha/kernel/irq_alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/irq_alpha.c b/arch/alpha/kernel/irq_alpha.c
index e16aeb6e79ef..67c19f8a9944 100644
--- a/arch/alpha/kernel/irq_alpha.c
+++ b/arch/alpha/kernel/irq_alpha.c
@@ -64,7 +64,7 @@ do_entInt(unsigned long type, unsigned long vector,
smp_percpu_timer_interrupt(regs);
cpu = smp_processor_id();
if (cpu != boot_cpuid) {
- kstat_cpu(cpu).irqs[RTC_IRQ]++;
+ kstat_incr_irqs_this_cpu(RTC_IRQ, irq_to_desc(RTC_IRQ));
} else {
handle_irq(RTC_IRQ);
}