Commit b45a640b authored by Ingo Molnar's avatar Ingo Molnar

Fix from Mike Kravetz: use the nr_running return value

of double_lock_balance().
parent 8af480ec
......@@ -557,7 +557,7 @@ static void load_balance(runqueue_t *this_rq, int idle)
* Make sure nothing changed since we checked the
* runqueue length.
*/
if (busiest->nr_running <= this_rq->nr_running + 1)
if (busiest->nr_running <= nr_running + 1)
goto out_unlock;
/*
......
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