Browse Source

[MIPS] IP27: Invoke setup_irq for timer interrupt so proc stats will be shown.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 19 năm trước cách đây
mục cha
commit
bf283630d0
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      arch/mips/sgi-ip27/ip27-timer.c

+ 4 - 0
arch/mips/sgi-ip27/ip27-timer.c

@@ -244,6 +244,10 @@ static void ip27_timer_setup(struct irqaction *irq)
 	irq_desc[irqno].status |= IRQ_PER_CPU;
 
 	rt_timer_irq = irqno;
+	/*
+	 * Only needed to get /proc/interrupt to display timer irq stats
+	 */
+	setup_irq(irqno, &rt_irqaction);
 }
 
 void __init ip27_time_init(void)