diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2011-01-10 09:35:44 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-10 18:35:04 +0100 |
commit | daef1f35ea1e2cca125eecd5f078f40b55eb9105 (patch) | |
tree | ba3cfad2743cbd70a6d36dfe645c427a1634eeb1 /drivers/acpi/glue.c | |
parent | Linux 2.6.37 (diff) | |
download | linux-daef1f35ea1e2cca125eecd5f078f40b55eb9105.tar.xz linux-daef1f35ea1e2cca125eecd5f078f40b55eb9105.zip |
ACPI: Check the returned value of set_cpus_allowed_ptr before T-state operation
Now before it executes the T-state operation on one CPU, it will try to
migrate to the target CPU. Especially this is required on the system that
uses the MSR_IA32_THERMAL_CONTROL register to switch T-state.
But unfortunately it doesn't check whether the migration is successful or not.
In such case we will get/set the incorrect T-state on the offline CPU as
it fails in the migration to the offline CPU.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/glue.c')
0 files changed, 0 insertions, 0 deletions