aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJavi Merino <[email protected]>2014-11-25 16:00:33 +0000
committerZhang Rui <[email protected]>2014-12-08 12:10:44 +0800
commitb6cc772f64ac7d1917770406844b73a94ca5ef06 (patch)
tree91a4036308f97df59865b02f5b941b799ddd1755 /lib/mpi/mpiutil.c
parent84ffe3ecc2c8b3effc41c0babd2cc24f1edb2aab (diff)
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 <[email protected]> Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions