diff options
author | Len Brown <len.brown@intel.com> | 2011-01-12 05:01:08 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 05:01:08 -0500 |
commit | fe3ded5078e957d80c43837e1966429cf0029c10 (patch) | |
tree | 3d119165a177c5aef9490defde861c4e733191e6 /drivers/acpi/processor_driver.c | |
parent | 77cff3b0d6349cc0212056238108b827b3cc353b (diff) | |
parent | 5a344a505093dd65f82f338ffdb7208321b3630e (diff) |
Merge branch 'throttling' into release
Diffstat (limited to 'drivers/acpi/processor_driver.c')
-rw-r--r-- | drivers/acpi/processor_driver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c index 29572debc65..360a74e6add 100644 --- a/drivers/acpi/processor_driver.c +++ b/drivers/acpi/processor_driver.c @@ -427,8 +427,13 @@ static int acpi_cpu_soft_notify(struct notifier_block *nfb, if (action == CPU_ONLINE && pr) { acpi_processor_ppc_has_changed(pr, 0); acpi_processor_cst_has_changed(pr); + acpi_processor_reevaluate_tstate(pr, action); acpi_processor_tstate_has_changed(pr); } + if (action == CPU_DEAD && pr) { + /* invalidate the flag.throttling after one CPU is offline */ + acpi_processor_reevaluate_tstate(pr, action); + } return NOTIFY_OK; } |