Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87856
b: refs/heads/master
c: 8e92b66
h: refs/heads/master
v: v3
  • Loading branch information
Venki Pallipadi authored and Len Brown committed Mar 26, 2008
1 parent 6337af3 commit bbd7bca
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 8b78cf602fd3bd97c0080edd22fe8fd5d0fa7832
refs/heads/master: 8e92b6605da989c0aa8ff7e33306f36f0efd957c
4 changes: 3 additions & 1 deletion trunk/drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,9 @@ static int acpi_processor_setup_cpuidle(struct acpi_processor *pr)
switch (cx->type) {
case ACPI_STATE_C1:
state->flags |= CPUIDLE_FLAG_SHALLOW;
state->flags |= CPUIDLE_FLAG_TIME_VALID;
if (cx->entry_method == ACPI_CSTATE_FFH)
state->flags |= CPUIDLE_FLAG_TIME_VALID;

state->enter = acpi_idle_enter_c1;
dev->safe_state = state;
break;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/cpuidle/cpuidle.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ static void poll_idle_init(struct cpuidle_device *dev)
state->exit_latency = 0;
state->target_residency = 0;
state->power_usage = -1;
state->flags = CPUIDLE_FLAG_POLL | CPUIDLE_FLAG_TIME_VALID;
state->flags = CPUIDLE_FLAG_POLL;
state->enter = poll_idle;
}
#else
Expand Down

0 comments on commit bbd7bca

Please sign in to comment.