diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-07-31 09:29:53 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-08-26 04:10:22 -0400 |
commit | 1374d084736fff6f72f1d143ffdaa90cddd86e7e (patch) | |
tree | bdf6d457a0e7585fb5ee39175fbb3967c1060824 /arch | |
parent | 2841d8b893fd326aa039f28c3040378db8ebe8ef (diff) |
[MIPS] TXx9: Fix mips_hpt_frequency initialization
The mips_hpt_frequency initialization code was lost in commit
94a4c32939dede9328c6e4face335eb8441fc18d (linux-mips.org) /
94a4c32939dede9328c6e4face335eb8441fc18d (kernel.org) "TXx9: Add 64-bit
support".
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/txx9/generic/setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/setup.c index 1bc57d0f4c5c..0afe94c48fb6 100644 --- a/arch/mips/txx9/generic/setup.c +++ b/arch/mips/txx9/generic/setup.c | |||
@@ -328,6 +328,9 @@ void __init arch_init_irq(void) | |||
328 | 328 | ||
329 | void __init plat_time_init(void) | 329 | void __init plat_time_init(void) |
330 | { | 330 | { |
331 | #ifdef CONFIG_CPU_TX49XX | ||
332 | mips_hpt_frequency = txx9_cpu_clock / 2; | ||
333 | #endif | ||
331 | txx9_board_vec->time_init(); | 334 | txx9_board_vec->time_init(); |
332 | } | 335 | } |
333 | 336 | ||