aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorZhang Rui <[email protected]>2012-07-24 16:56:21 +0800
committerZhang Rui <[email protected]>2012-09-24 14:44:37 +0800
commitf4a821ce6ed41970d0155f55067fb07009974fbe (patch)
tree6cceeaa90060fb17985fbe7f9b5aa9466cf03d8d /lib/mpi/mpiutil.c
parent908b9fb792b77663a007af240e7ee89460de2025 (diff)
Thermal: Introduce locking for cdev.thermal_instances list.
we need to go over all the thermal_instance list of a cooling device to decide which cooling state to put the cooling device to. But at this time, as a cooling device may be referenced in multiple thermal zones, we need to lock the list first in case another thermal zone is updating this cooling device. Signed-off-by: Zhang Rui <[email protected]> Reviewed-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions