Commit 6ecf9680 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

Merge branch 'pm-cpuidle' into fixes

* pm-cpuidle:
  microblaze idle: Fix compile error
  blackfin idle: Fix compile error
parents a0b1c429 c192b196
...@@ -80,12 +80,10 @@ void cpu_idle(void) ...@@ -80,12 +80,10 @@ void cpu_idle(void)
if (cpu_is_offline(smp_processor_id())) if (cpu_is_offline(smp_processor_id()))
cpu_die(); cpu_die();
#endif #endif
if (!idle)
idle = default_idle;
tick_nohz_idle_enter(); tick_nohz_idle_enter();
rcu_idle_enter(); rcu_idle_enter();
while (!need_resched()) while (!need_resched())
idle(); default_idle();
rcu_idle_exit(); rcu_idle_exit();
tick_nohz_idle_exit(); tick_nohz_idle_exit();
preempt_enable_no_resched(); preempt_enable_no_resched();
......
...@@ -97,13 +97,10 @@ void cpu_idle(void) ...@@ -97,13 +97,10 @@ void cpu_idle(void)
/* endless idle loop with no priority at all */ /* endless idle loop with no priority at all */
while (1) { while (1) {
if (!idle)
idle = default_idle;
tick_nohz_idle_enter(); tick_nohz_idle_enter();
rcu_idle_enter(); rcu_idle_enter();
while (!need_resched()) while (!need_resched())
idle(); default_idle();
rcu_idle_exit(); rcu_idle_exit();
tick_nohz_idle_exit(); tick_nohz_idle_exit();
......
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