Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199275
b: refs/heads/master
c: a7d27c3
h: refs/heads/master
i:
  199273: 47cb50e
  199271: 03b8a92
v: v3
  • Loading branch information
Len Brown committed May 28, 2010
1 parent f835f63 commit 5c58d27
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: e45b7fa23097332508730123ac6d59227e7bd7f8
refs/heads/master: a7d27c37533524e23bbdc9ba1d78e3241b7483ea
9 changes: 0 additions & 9 deletions trunk/drivers/acpi/acpi_pad.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,6 @@ static int power_saving_thread(void *data)

do_sleep = 0;

current_thread_info()->status &= ~TS_POLLING;
/*
* TS_POLLING-cleared state must be visible before we test
* NEED_RESCHED:
*/
smp_mb();

expire_time = jiffies + HZ * (100 - idle_pct) / 100;

while (!need_resched()) {
Expand All @@ -200,8 +193,6 @@ static int power_saving_thread(void *data)
}
}

current_thread_info()->status |= TS_POLLING;

/*
* current sched_rt has threshold for rt task running time.
* When a rt task uses 95% CPU time, the rt thread will be
Expand Down

0 comments on commit 5c58d27

Please sign in to comment.