summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-11-06 16:32:39 +0300
committerRalf Baechle <ralf@linux-mips.org>2006-11-06 23:55:38 +0300
commit325d08d1a44b601fbf70c259fb61c38d2af7d309 (patch)
treeabc8e2652fdbdb73537fe348242fb3a4789d6361 /arch/mips
parentff28cbd2804105b144a7054e0302615e1da6749f (diff)
downloadlinux-325d08d1a44b601fbf70c259fb61c38d2af7d309.tar.xz
[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 c83ae6acd601..e6e48323e758 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