summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/time.c
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2008-03-12 23:50:02 +0900
committerRalf Baechle <ralf@linux-mips.org>2008-04-01 15:46:33 +0100
commit447cdf2628b59aa513a42785450b348dced26d8a (patch)
tree337fb68e808620501c29a8a514a9b6df8e3d0f33 /arch/mips/kernel/time.c
parent82933342c3b157c93f4b09199bcde8f2e961dff6 (diff)
downloadop-kernel-dev-447cdf2628b59aa513a42785450b348dced26d8a.zip
op-kernel-dev-447cdf2628b59aa513a42785450b348dced26d8a.tar.gz
[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>
Diffstat (limited to 'arch/mips/kernel/time.c')
-rw-r--r--arch/mips/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c
index 9f85d4c..b45a709 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();
}
OpenPOWER on IntegriCloud