mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
[MIPS] TXx9: Fix mips_hpt_frequency initialization
The mips_hpt_frequency initialization code was lost in commit94a4c32939
(linux-mips.org) /94a4c32939
(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>
This commit is contained in:
parent
2841d8b893
commit
1374d08473
@ -328,6 +328,9 @@ void __init arch_init_irq(void)
|
||||
|
||||
void __init plat_time_init(void)
|
||||
{
|
||||
#ifdef CONFIG_CPU_TX49XX
|
||||
mips_hpt_frequency = txx9_cpu_clock / 2;
|
||||
#endif
|
||||
txx9_board_vec->time_init();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user