Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84111
b: refs/heads/master
c: 4963f62
h: refs/heads/master
i:
  84109: d42a3ba
  84107: 61e2026
  84103: 0928f51
  84095: dd26dc3
v: v3
  • Loading branch information
Len Brown committed Dec 14, 2007
1 parent 39ab182 commit f005f47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 60555e371d56a1e410d9fb6fc68f4e953f8f4109
refs/heads/master: 4963f62045b64f93c45fbcb6f8f0baf1e3e7a127
5 changes: 4 additions & 1 deletion trunk/drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ module_param(bm_history, uint, 0644);

static int acpi_processor_set_power_policy(struct acpi_processor *pr);

#else /* CONFIG_CPU_IDLE */
static unsigned int latency_factor __read_mostly = 6;
module_param(latency_factor, uint, 0644);
#endif

/*
Expand Down Expand Up @@ -1576,7 +1579,7 @@ static int acpi_processor_setup_cpuidle(struct acpi_processor *pr)

snprintf(state->name, CPUIDLE_NAME_LEN, "C%d", i);
state->exit_latency = cx->latency;
state->target_residency = cx->latency * 6;
state->target_residency = cx->latency * latency_factor;
state->power_usage = cx->power;

state->flags = 0;
Expand Down

0 comments on commit f005f47

Please sign in to comment.