From: Yoichi Yuasa Date: Wed, 12 Mar 2008 14:50:02 +0000 (+0900) Subject: [MIPS] Fix the installation condition of MIPS clocksource X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=447cdf2628b59aa513a42785450b348dced26d8a;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [MIPS] Fix the installation condition of MIPS clocksource Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c index 9f85d4cecc5b..b45a7093ca2d 100644 --- a/arch/mips/kernel/time.c +++ b/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(); }