summaryrefslogtreecommitdiff
path: root/include/linux/cm4000_cs.h
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2014-11-25 19:00:33 +0300
committerZhang Rui <rui.zhang@intel.com>2014-12-08 07:10:44 +0300
commitb6cc772f64ac7d1917770406844b73a94ca5ef06 (patch)
tree91a4036308f97df59865b02f5b941b799ddd1755 /include/linux/cm4000_cs.h
parent84ffe3ecc2c8b3effc41c0babd2cc24f1edb2aab (diff)
downloadlinux-b6cc772f64ac7d1917770406844b73a94ca5ef06.tar.xz
thermal: lock the thermal zone when switching governors
Currently, userspace can request a governor change while the governor itself is running. Grab the thermal zone lock when changing the governor to prevent this race. Signed-off-by: Javi Merino <javi.merino@arm.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'include/linux/cm4000_cs.h')
0 files changed, 0 insertions, 0 deletions