diff options
| -rw-r--r-- | drivers/acpi/acpi_pad.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c index 62122134693b..7edf053983c5 100644 --- a/drivers/acpi/acpi_pad.c +++ b/drivers/acpi/acpi_pad.c | |||
| @@ -168,13 +168,6 @@ static int power_saving_thread(void *data) | |||
| 168 | 168 | ||
| 169 | do_sleep = 0; | 169 | do_sleep = 0; |
| 170 | 170 | ||
| 171 | current_thread_info()->status &= ~TS_POLLING; | ||
| 172 | /* | ||
| 173 | * TS_POLLING-cleared state must be visible before we test | ||
| 174 | * NEED_RESCHED: | ||
| 175 | */ | ||
| 176 | smp_mb(); | ||
| 177 | |||
| 178 | expire_time = jiffies + HZ * (100 - idle_pct) / 100; | 171 | expire_time = jiffies + HZ * (100 - idle_pct) / 100; |
| 179 | 172 | ||
| 180 | while (!need_resched()) { | 173 | while (!need_resched()) { |
| @@ -200,8 +193,6 @@ static int power_saving_thread(void *data) | |||
| 200 | } | 193 | } |
| 201 | } | 194 | } |
| 202 | 195 | ||
| 203 | current_thread_info()->status |= TS_POLLING; | ||
| 204 | |||
| 205 | /* | 196 | /* |
| 206 | * current sched_rt has threshold for rt task running time. | 197 | * current sched_rt has threshold for rt task running time. |
| 207 | * When a rt task uses 95% CPU time, the rt thread will be | 198 | * When a rt task uses 95% CPU time, the rt thread will be |
