projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2841d8b
)
[MIPS] TXx9: Fix mips_hpt_frequency initialization
author
Atsushi Nemoto
<anemo@mba.ocn.ne.jp>
Thu, 31 Jul 2008 13:29:53 +0000
(22:29 +0900)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 26 Aug 2008 08:10:22 +0000
(09:10 +0100)
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>
arch/mips/txx9/generic/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/txx9/generic/setup.c
b/arch/mips/txx9/generic/setup.c
index 1bc57d0f4c5c156c9aafb6ce3d0d39f657943b65..0afe94c48fb65e82ee283f5fbd2fbce6362dcdb9 100644
(file)
--- a/
arch/mips/txx9/generic/setup.c
+++ b/
arch/mips/txx9/generic/setup.c
@@
-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();
}