Commit 6feb6efa authored by Yoichi Yuasa's avatar Yoichi Yuasa Committed by Ralf Baechle

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

The first timer interrupt setup already happens in time_init().
Signed-off-by: default avatarYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent f41ae0b2
...@@ -31,10 +31,6 @@ void __init wrppmc_timer_setup(struct irqaction *irq) ...@@ -31,10 +31,6 @@ void __init wrppmc_timer_setup(struct irqaction *irq)
{ {
/* Install ISR for timer interrupt */ /* Install ISR for timer interrupt */
setup_irq(WRPPMC_MIPS_TIMER_IRQ, irq); setup_irq(WRPPMC_MIPS_TIMER_IRQ, irq);
/* to generate the first timer interrupt */
write_c0_compare(mips_hpt_frequency/HZ);
write_c0_count(0);
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment