Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283196
b: refs/heads/master
c: 166c0ea
h: refs/heads/master
v: v3
  • Loading branch information
Mark Salter committed Jan 8, 2012
1 parent 16f25da commit 7b9c3c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7123a6cab02ebc5dca61d0e341267578b245f2f3
refs/heads/master: 166c0eaedfc3157dc1394c27e827add19f05fb27
6 changes: 4 additions & 2 deletions trunk/arch/c6x/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ void cpu_idle(void)
{
/* endless idle loop with no priority at all */
while (1) {
tick_nohz_stop_sched_tick(1);
tick_nohz_idle_enter();
rcu_idle_enter();
while (1) {
local_irq_disable();
if (need_resched()) {
Expand All @@ -80,7 +81,8 @@ void cpu_idle(void)
}
c6x_idle(); /* enables local irqs */
}
tick_nohz_restart_sched_tick();
rcu_idle_exit();
tick_nohz_idle_exit();

preempt_enable_no_resched();
schedule();
Expand Down

0 comments on commit 7b9c3c3

Please sign in to comment.