aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kernel/cevt-r4k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/cevt-r4k.c b/arch/mips/kernel/cevt-r4k.c
index ae2984fff580..cb46b02e02a5 100644
--- a/arch/mips/kernel/cevt-r4k.c
+++ b/arch/mips/kernel/cevt-r4k.c
@@ -220,7 +220,7 @@ void __cpuinit mips_clockevent_init(void)
220 struct clock_event_device *cd; 220 struct clock_event_device *cd;
221 unsigned int irq = MIPS_CPU_IRQ_BASE + 7; 221 unsigned int irq = MIPS_CPU_IRQ_BASE + 7;
222 222
223 if (!cpu_has_counter) 223 if (!cpu_has_counter || !mips_hpt_frequency)
224 return; 224 return;
225 225
226#ifdef CONFIG_MIPS_MT_SMTC 226#ifdef CONFIG_MIPS_MT_SMTC