summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-11-06 13:32:39 +0000
committerRalf Baechle <ralf@linux-mips.org>2006-11-06 20:55:38 +0000
commit325d08d1a44b601fbf70c259fb61c38d2af7d309 (patch)
treeabc8e2652fdbdb73537fe348242fb3a4789d6361 /arch/mips
parentff28cbd2804105b144a7054e0302615e1da6749f (diff)
[MIPS] EV64120: Fix timer initialization for HZ != 100.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/gt64120/common/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/gt64120/common/time.c b/arch/mips/gt64120/common/time.c
index c83ae6acd60..e6e48323e75 100644
--- a/arch/mips/gt64120/common/time.c
+++ b/arch/mips/gt64120/common/time.c
@@ -71,7 +71,7 @@ void gt64120_time_init(void)
/* Disable timer first */
GT_WRITE(GT_TC_CONTROL_OFS, 0);
/* Load timer value for 100 Hz */
- GT_WRITE(GT_TC3_OFS, Sys_clock / 100);
+ GT_WRITE(GT_TC3_OFS, Sys_clock / HZ);
/*
* Create the IRQ structure entry for the timer. Since we're too early