sched / idle: Move the default idle call code to a separate function
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 May 2015 20:53:22 +0000 (22:53 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 May 2015 20:53:22 +0000 (22:53 +0200)
commit82f663277d0db854e8978e5f89fd88f6df75a4a4
treee7164d30fbde033b1ac30a28a83f82e3382a2c36
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22
sched / idle: Move the default idle call code to a separate function

Move the code under the "use_default" label in cpuidle_idle_call()
into a separate (new) function.

This just allows the subsequent changes to be more stratightforward.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
kernel/sched/idle.c