[MIPS] Remove first timer interrupt setup in wrppmc_timer_setup()
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Tue, 20 Jun 2006 14:55:17 +0000 (23:55 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 29 Jun 2006 20:10:52 +0000 (21:10 +0100)
The first timer interrupt setup already happens in time_init().

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/gt64120/wrppmc/time.c

index 175d22adb450bf61f43d26bd51d59f4f5c09a82a..6c24a82df0ddc0829207a28d81c3a6fe932a3255 100644 (file)
@@ -31,10 +31,6 @@ void __init wrppmc_timer_setup(struct irqaction *irq)
 {
        /* Install ISR for timer interrupt */
        setup_irq(WRPPMC_MIPS_TIMER_IRQ, irq);
-
-       /* to generate the first timer interrupt */
-       write_c0_compare(mips_hpt_frequency/HZ);
-       write_c0_count(0);
 }
 
 /*