summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-07-08 02:56:32 +0400
committerRalf Baechle <ralf@linux-mips.org>2006-07-14 00:26:14 +0400
commitbf283630d0990f2ad80bb4601ff275f9d41a579e (patch)
tree794361ab053724b564e188b148a99021ec021b5f /arch
parentcc25ab008633ffd6010f01003ad380f9c7dd5374 (diff)
downloadlinux-bf283630d0990f2ad80bb4601ff275f9d41a579e.tar.xz
[MIPS] IP27: Invoke setup_irq for timer interrupt so proc stats will be shown.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/sgi-ip27/ip27-timer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/sgi-ip27/ip27-timer.c b/arch/mips/sgi-ip27/ip27-timer.c
index d7aab9a7e5f5..029d779bfe75 100644
--- a/arch/mips/sgi-ip27/ip27-timer.c
+++ b/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)