[MIPS] IP27: Invoke setup_irq for timer interrupt so proc stats will be shown.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 7 Jul 2006 22:56:32 +0000 (23:56 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Jul 2006 20:26:14 +0000 (21:26 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip27/ip27-timer.c

index d7aab9a7e5f56451780d3d87c4b822aa2e2bcc3b..029d779bfe75075c89cd7d09899aea54f9463c81 100644 (file)
@@ -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)