[MIPS] Fix the installation condition of MIPS clocksource
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Wed, 12 Mar 2008 14:50:02 +0000 (23:50 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 1 Apr 2008 14:46:33 +0000 (15:46 +0100)
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/time.c

index 9f85d4c..b45a709 100644 (file)
@@ -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();
 }