Skip to content

Commit 447cdf2

Browse files
Yoichi Yuasaralfbaechle
authored andcommitted
[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>
1 parent 8293334 commit 447cdf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/mips/kernel/time.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,6 @@ void __init time_init(void)
157157
{
158158
plat_time_init();
159159

160-
if (mips_clockevent_init() || !cpu_has_mfc0_count_bug())
160+
if (!mips_clockevent_init() || !cpu_has_mfc0_count_bug())
161161
init_mips_clocksource();
162162
}

0 commit comments

Comments
 (0)