Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167768
b: refs/heads/master
c: 246eb7f
h: refs/heads/master
v: v3
  • Loading branch information
Kevin Hilman authored and Linus Torvalds committed Oct 29, 2009
1 parent cb56598 commit 20b9f6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 5e8d8f6f2844d4a663415c660ab5cc92e2e2477d
refs/heads/master: 246eb7f0ed1a8aeddec5313137767658f378949b
5 changes: 4 additions & 1 deletion trunk/drivers/cpuidle/cpuidle.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,11 @@ static void cpuidle_idle_call(void)
#endif
/* ask the governor for the next state */
next_state = cpuidle_curr_governor->select(dev);
if (need_resched())
if (need_resched()) {
local_irq_enable();
return;
}

target_state = &dev->states[next_state];

/* enter the state and update stats */
Expand Down

0 comments on commit 20b9f6d

Please sign in to comment.