Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80236
b: refs/heads/master
c: 3d97775
h: refs/heads/master
v: v3
  • Loading branch information
Hiroshi Shimamoto authored and Ingo Molnar committed Jan 30, 2008
1 parent 868d3fa commit 9ff2bea
Show file tree
Hide file tree
Showing 2 changed files with 2 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: d50efc6c40620b2e11648cac64ebf4a824e40382
refs/heads/master: 3d97775a80a03013abe1fd681620925f884ad18a
3 changes: 1 addition & 2 deletions trunk/arch/x86/kernel/process_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,13 @@ void cpu_idle(void)
current_thread_info()->status |= TS_POLLING;
/* endless idle loop with no priority at all */
while (1) {
tick_nohz_stop_sched_tick();
while (!need_resched()) {
void (*idle)(void);

if (__get_cpu_var(cpu_idle_state))
__get_cpu_var(cpu_idle_state) = 0;

tick_nohz_stop_sched_tick();

rmb();
idle = pm_idle;
if (!idle)
Expand Down

0 comments on commit 9ff2bea

Please sign in to comment.