Skip to content

Commit

Permalink
Merge branch 'pm-cpuidle' into fixes
Browse files Browse the repository at this point in the history
* pm-cpuidle:
  microblaze idle: Fix compile error
  blackfin idle: Fix compile error
  • Loading branch information
Rafael J. Wysocki committed Feb 22, 2013
2 parents a0b1c42 + c192b19 commit 6ecf968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions arch/blackfin/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,10 @@ void cpu_idle(void)
if (cpu_is_offline(smp_processor_id()))
cpu_die();
#endif
if (!idle)
idle = default_idle;
tick_nohz_idle_enter();
rcu_idle_enter();
while (!need_resched())
idle();
default_idle();
rcu_idle_exit();
tick_nohz_idle_exit();
preempt_enable_no_resched();
Expand Down
5 changes: 1 addition & 4 deletions arch/microblaze/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,10 @@ void cpu_idle(void)

/* endless idle loop with no priority at all */
while (1) {
if (!idle)
idle = default_idle;

tick_nohz_idle_enter();
rcu_idle_enter();
while (!need_resched())
idle();
default_idle();
rcu_idle_exit();
tick_nohz_idle_exit();

Expand Down

0 comments on commit 6ecf968

Please sign in to comment.