aboutsummaryrefslogtreecommitdiff
path: root/drivers/thermal/fair_share.c
diff options
context:
space:
mode:
authorThomas Gleixner2016-11-22 17:57:07 +0000
committerZhang Rui2016-11-30 10:24:59 +0800
commitb6badbea30bb839624d8bed43e8b7711bc3dd317 (patch)
tree60e5ac641756f044fcb093e5300ce1e0470fd740 /drivers/thermal/fair_share.c
parent09a674cd695f93bbbd09f24b5e13127c5907ef0c (diff)
thermal/x86_pkg_temp: Get rid of ref counting
There is no point in the whole package data refcounting dance because topology_core_cpumask tells us whether this is the last cpu in the package. If yes, then the package can go, if not it stays. It's already serialized via the hotplug code. While at it rename the first_cpu member of the package structure to cpu. The first has absolutely no meaning. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/fair_share.c')
0 files changed, 0 insertions, 0 deletions