projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a13ecd
)
[MIPS] Add mips_hpt_frequency check to mips_clockevent_init().
author
Yoichi Yuasa
<yoichi_yuasa@tripeaks.co.jp>
Fri, 26 Oct 2007 13:27:05 +0000
(22:27 +0900)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 29 Oct 2007 19:35:35 +0000
(19:35 +0000)
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cevt-r4k.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/cevt-r4k.c
b/arch/mips/kernel/cevt-r4k.c
index ae2984fff580026cb30c597bbfc83704867a2230..cb46b02e02a501e31d2b68bd30052cd373e81900 100644
(file)
--- a/
arch/mips/kernel/cevt-r4k.c
+++ b/
arch/mips/kernel/cevt-r4k.c
@@
-220,7
+220,7
@@
void __cpuinit mips_clockevent_init(void)
struct clock_event_device *cd;
unsigned int irq = MIPS_CPU_IRQ_BASE + 7;
- if (!cpu_has_counter)
+ if (!cpu_has_counter
|| !mips_hpt_frequency
)
return;
#ifdef CONFIG_MIPS_MT_SMTC