These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / sparc / kernel / sun4m_smp.c
index d3408e7..278c40a 100644 (file)
@@ -247,7 +247,7 @@ void smp4m_percpu_timer_interrupt(struct pt_regs *regs)
 
        ce = &per_cpu(sparc32_clockevent, cpu);
 
-       if (ce->mode & CLOCK_EVT_MODE_PERIODIC)
+       if (clockevent_state_periodic(ce))
                sun4m_clear_profile_irq(cpu);
        else
                sparc_config.load_profile_irq(cpu, 0); /* Is this needless? */