提交 22df3f53 编写于 作者: Y Yoichi Yuasa 提交者: Ralf Baechle

[MIPS] Add mips_hpt_frequency check to mips_clockevent_init().

Signed-off-by: NYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 8a13ecd7
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册