aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2009-03-26 19:44:17 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-03-26 20:00:25 -0400
commite2ab3dff9d515ef69ac7c245b5ad1e348f2106be (patch)
tree3e3d16872247d526cb03a1e341d4e428ec7a6b5e /arch/sparc
parentbe0ea69674ed95e1e98cb3687a241badc756d228 (diff)
sparc64: Fix build of timer_interrupt().
arch/sparc/kernel/time_64.c: In function ‘timer_interrupt’: arch/sparc/kernel/time_64.c:732: error: ‘struct kernel_stat’ has no member named ‘irqs’ make[1]: *** [arch/sparc/kernel/time_64.o] Error 1 Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/kernel/time_64.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc/kernel/time_64.c b/arch/sparc/kernel/time_64.c
index 642562d83ec4..4ee2e48c4b39 100644
--- a/arch/sparc/kernel/time_64.c
+++ b/arch/sparc/kernel/time_64.c
@@ -724,12 +724,14 @@ void timer_interrupt(int irq, struct pt_regs *regs)
724 unsigned long tick_mask = tick_ops->softint_mask; 724 unsigned long tick_mask = tick_ops->softint_mask;
725 int cpu = smp_processor_id(); 725 int cpu = smp_processor_id();
726 struct clock_event_device *evt = &per_cpu(sparc64_events, cpu); 726 struct clock_event_device *evt = &per_cpu(sparc64_events, cpu);
727 struct irq_desc *desc;
727 728
728 clear_softint(tick_mask); 729 clear_softint(tick_mask);
729 730
730 irq_enter(); 731 irq_enter();
731 732
732 kstat_this_cpu.irqs[0]++; 733 desc = irq_to_desc(0);
734 kstat_incr_irqs_this_cpu(0, desc);
733 735
734 if (unlikely(!evt->event_handler)) { 736 if (unlikely(!evt->event_handler)) {
735 printk(KERN_WARNING 737 printk(KERN_WARNING