Commit e2ab3dff authored by David Miller's avatar David Miller Committed by Linus Torvalds

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: default avatarDavid S. Miller <>
Signed-off-by: default avatarLinus Torvalds <>
parent be0ea696
......@@ -724,12 +724,14 @@ void timer_interrupt(int irq, struct pt_regs *regs)
unsigned long tick_mask = tick_ops->softint_mask;
int cpu = smp_processor_id();
struct clock_event_device *evt = &per_cpu(sparc64_events, cpu);
struct irq_desc *desc;
desc = irq_to_desc(0);
kstat_incr_irqs_this_cpu(0, desc);
if (unlikely(!evt->event_handler)) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment