Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120077
b: refs/heads/master
c: f74c034
h: refs/heads/master
i:
  120075: 39673d3
v: v3
  • Loading branch information
Paul Mundt committed Dec 22, 2008
1 parent 490a84e commit 6477c95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75fd24c1073adcd1e8ea43048d946bbfa34dfc64
refs/heads/master: f74c034d52d0f908d5b929423a680962a2586199
4 changes: 4 additions & 0 deletions trunk/arch/sh/kernel/process_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,12 @@ static void default_idle(void)
clear_thread_flag(TIF_POLLING_NRFLAG);
smp_mb__after_clear_bit();
set_bl_bit();
stop_critical_timings();

while (!need_resched())
cpu_sleep();

start_critical_timings();
clear_bl_bit();
set_thread_flag(TIF_POLLING_NRFLAG);
} else
Expand Down

0 comments on commit 6477c95

Please sign in to comment.