Commit c6e8d06f authored by David S. Miller's avatar David S. Miller

Fix CAN_MIGRATE_TASK macro to use p arg it gets

instead of tmp explicitly.
parent e9a1648b
......@@ -591,7 +591,7 @@ static void load_balance(runqueue_t *this_rq, int idle)
#define CAN_MIGRATE_TASK(p,rq,this_cpu) \
((jiffies - (p)->sleep_timestamp > cache_decay_ticks) && \
((p) != (rq)->curr) && \
(tmp->cpus_allowed & (1 << (this_cpu))))
((p)->cpus_allowed & (1 << (this_cpu))))
if (!CAN_MIGRATE_TASK(tmp, busiest, this_cpu)) {
curr = curr->next;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment