summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorYoichi Yuasa2008-03-12 15:50:02 +0100
committerRalf Baechle2008-04-01 16:46:33 +0200
commit447cdf2628b59aa513a42785450b348dced26d8a (patch)
tree337fb68e808620501c29a8a514a9b6df8e3d0f33 /arch/mips
parent[MIPS] Check for GCC r10k-cache-barrier support (diff)
downloadkernel-qcow2-linux-447cdf2628b59aa513a42785450b348dced26d8a.tar.gz
kernel-qcow2-linux-447cdf2628b59aa513a42785450b348dced26d8a.tar.xz
kernel-qcow2-linux-447cdf2628b59aa513a42785450b348dced26d8a.zip
[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')
-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 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();
}