aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/lasat/setup.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-02-28 11:53:13 -0500
committerRalf Baechle <ralf@linux-mips.org>2007-03-04 14:02:35 -0500
commit12e4396bf0b1cd62c9d71a06596914c7efa7dbaf (patch)
tree5cac3c54cbd025c9e382b0aec0a39ea8bcfd4a6f /arch/mips/lasat/setup.c
parenta0574e04807608998d4d115c07b7bc12bb499a44 (diff)
[MIPS] No need to write c0_compare in plat_timer_setup
If R4k counter was used for hpt_timer and interrupt source, c0_hpt_timer_init() initializes the c0_compare register. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lasat/setup.c')
-rw-r--r--arch/mips/lasat/setup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/lasat/setup.c b/arch/mips/lasat/setup.c
index 14c55168f1ff..b27b47cd6fb2 100644
--- a/arch/mips/lasat/setup.c
+++ b/arch/mips/lasat/setup.c
@@ -116,7 +116,6 @@ static void lasat_time_init(void)
116 116
117void __init plat_timer_setup(struct irqaction *irq) 117void __init plat_timer_setup(struct irqaction *irq)
118{ 118{
119 write_c0_compare( read_c0_count() + mips_hpt_frequency / HZ);
120 change_c0_status(ST0_IM, IE_IRQ0 | IE_IRQ5); 119 change_c0_status(ST0_IM, IE_IRQ0 | IE_IRQ5);
121} 120}
122 121