Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71649
b: refs/heads/master
c: e196441
h: refs/heads/master
i:
  71647: df8799f
v: v3
  • Loading branch information
Len Brown committed Oct 10, 2007
1 parent 01ded91 commit 3b0d24c
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 4f86d3a8e297205780cca027e974fd5f81064780
refs/heads/master: e196441bdf2dbf0526b28a6829c39557c236d611
6 changes: 6 additions & 0 deletions trunk/drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -1416,6 +1416,9 @@ static int acpi_idle_enter_simple(struct cpuidle_device *dev,
if (unlikely(!pr))
return 0;

if (acpi_idle_suspend)
return(acpi_idle_enter_c1(dev, state));

if (pr->flags.bm_check)
acpi_idle_update_bm_rld(pr, cx);

Expand Down Expand Up @@ -1477,6 +1480,9 @@ static int acpi_idle_enter_bm(struct cpuidle_device *dev,
if (unlikely(!pr))
return 0;

if (acpi_idle_suspend)
return(acpi_idle_enter_c1(dev, state));

local_irq_disable();
current_thread_info()->status &= ~TS_POLLING;
/*
Expand Down

0 comments on commit 3b0d24c

Please sign in to comment.