tracing: Use one prologue for the wakeup tracer function tracers
[pandora-kernel.git] / kernel / sched_fair.c
index a171138..db3f674 100644 (file)
@@ -3630,7 +3630,7 @@ static inline int nohz_kick_needed(struct rq *rq, int cpu)
        if (time_before(now, nohz.next_balance))
                return 0;
 
-       if (!rq->nr_running)
+       if (rq->idle_at_tick)
                return 0;
 
        first_pick_cpu = atomic_read(&nohz.first_pick_cpu);