diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2016-11-28 22:44:51 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-11-29 23:34:11 +0100 |
commit | cb91fef1b71954e3edc79fb4171b43f6aa2028c7 (patch) | |
tree | 5747beae6c5944d1f4cd083eef43104dc4a67751 /tools/firewire | |
parent | thermal/intel_powerclamp: Convert the kthread to kthread worker API (diff) | |
download | linux-cb91fef1b71954e3edc79fb4171b43f6aa2028c7.tar.xz linux-cb91fef1b71954e3edc79fb4171b43f6aa2028c7.zip |
thermal/intel_powerclamp: Convert to CPU hotplug state
This is a conversation to the new hotplug state machine with
the difference that CPU_DEAD becomes CPU_PREDOWN.
At the same time it makes the handling of the two states symmetrical.
stop_power_clamp_worker() is called unconditionally and the controversial
error message is removed.
Finally, the hotplug state callbacks are removed after the powerclamping
is stopped to avoid a potential race.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
[pmladek@suse.com: Fixed the possible race in powerclamp_exit()]
Signed-off-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/firewire')
0 files changed, 0 insertions, 0 deletions