Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22df3f53 authored by Yoichi Yuasa's avatar Yoichi Yuasa Committed by Ralf Baechle
Browse files

[MIPS] Add mips_hpt_frequency check to mips_clockevent_init().

parent 8a13ecd7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -220,7 +220,7 @@ void __cpuinit mips_clockevent_init(void)
	struct clock_event_device *cd;
	unsigned int irq = MIPS_CPU_IRQ_BASE + 7;

	if (!cpu_has_counter)
	if (!cpu_has_counter || !mips_hpt_frequency)
		return;

#ifdef CONFIG_MIPS_MT_SMTC