sched/core: introduce sched_core_idle_cpu()
[sfrench/cifs-2.6.git] / kernel / softirq.c
index 807b34ccd7973472cde45b86e380948376a3a4b2..210cf5f8d92c2c2aa99d0e14db127c26d70f7e96 100644 (file)
@@ -612,7 +612,7 @@ static inline void tick_irq_exit(void)
        int cpu = smp_processor_id();
 
        /* Make sure that timer wheel updates are propagated */
-       if ((idle_cpu(cpu) && !need_resched()) || tick_nohz_full_cpu(cpu)) {
+       if ((sched_core_idle_cpu(cpu) && !need_resched()) || tick_nohz_full_cpu(cpu)) {
                if (!in_hardirq())
                        tick_nohz_irq_exit();
        }