Skip to content

Commit

Permalink
[MIPS] Remove first timer interrupt setup in wrppmc_timer_setup()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Jun 29, 2006
1 parent f41ae0b commit 6feb6ef
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/mips/gt64120/wrppmc/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/*
Expand Down

0 comments on commit 6feb6ef

Please sign in to comment.