Commit 6feb6efaec9858dfb673fc5c89b8280b1b73bb08

Authored by Yoichi Yuasa
Committed by Ralf Baechle
1 parent f41ae0b2b9

[MIPS] Remove first timer interrupt setup in wrppmc_timer_setup()

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>

Showing 1 changed file with 0 additions and 4 deletions Side-by-side Diff

arch/mips/gt64120/wrppmc/time.c
... ... @@ -31,10 +31,6 @@
31 31 {
32 32 /* Install ISR for timer interrupt */
33 33 setup_irq(WRPPMC_MIPS_TIMER_IRQ, irq);
34   -
35   - /* to generate the first timer interrupt */
36   - write_c0_compare(mips_hpt_frequency/HZ);
37   - write_c0_count(0);
38 34 }
39 35  
40 36 /*