sched/idle: Simplify wake_up_idle_cpu()
authorAndy Lutomirski <luto@amacapital.net>
Wed, 4 Jun 2014 17:31:17 +0000 (10:31 -0700)
committerIngo Molnar <mingo@kernel.org>
Thu, 5 Jun 2014 10:09:52 +0000 (12:09 +0200)
commit67b9ca70c3030e832999e8d1cdba2984c7bb5bfc
treec7a2d408297c74954e284895cf4ae74172c9747b
parent82c65d60d64401aedc1006d6572469bbfdf148de
sched/idle: Simplify wake_up_idle_cpu()

Now that rq->idle's polling bit is a reliable indication that the cpu is
polling, use it.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: nicolas.pitre@linaro.org
Cc: daniel.lezcano@linaro.org
Cc: umgwanakikbuti@gmail.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/922f00761445a830ebb23d058e2ae53956ce2d73.1401902905.git.luto@amacapital.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c