瀏覽代碼

[MIPS] Fix the installation condition of MIPS clocksource

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Yoichi Yuasa 17 年之前
父節點
當前提交
447cdf2628
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/mips/kernel/time.c

+ 1 - 1
arch/mips/kernel/time.c

@@ -157,6 +157,6 @@ void __init time_init(void)
 {
 	plat_time_init();
 
-	if (mips_clockevent_init() || !cpu_has_mfc0_count_bug())
+	if (!mips_clockevent_init() || !cpu_has_mfc0_count_bug())
 		init_mips_clocksource();
 }