diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-11-06 13:32:39 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-11-06 20:55:38 +0000 |
commit | 325d08d1a44b601fbf70c259fb61c38d2af7d309 (patch) | |
tree | abc8e2652fdbdb73537fe348242fb3a4789d6361 /arch/mips/gt64120 | |
parent | ff28cbd2804105b144a7054e0302615e1da6749f (diff) | |
download | op-kernel-dev-325d08d1a44b601fbf70c259fb61c38d2af7d309.zip op-kernel-dev-325d08d1a44b601fbf70c259fb61c38d2af7d309.tar.gz |
[MIPS] EV64120: Fix timer initialization for HZ != 100.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/gt64120')
-rw-r--r-- | arch/mips/gt64120/common/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/gt64120/common/time.c b/arch/mips/gt64120/common/time.c index c83ae6a..e6e4832 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 |