Home
last modified time | relevance | path

Searched hist:ccbc05e1edcc7d1eae3b230e7a18b1e0e756e429 (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/include/kernel/
H A Dlockdep.hccbc05e1edcc7d1eae3b230e7a18b1e0e756e429 Mon Jun 03 15:55:48 UTC 2019 Jens Wiklander <jens.wiklander@linaro.org> core: lockdep: support lock destroy

With lockdep enabled (CFG_LOCKDEP=y), additional cleanup is needed when
a mutex is destroyed. This patch adds mutex_destroy_check() which is
called when a mutex is destroyed with mutex_destroy(). From
mutex_destroy_check() the corresponding lockdep node and all edges
referring to it are removed.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
/optee_os/core/kernel/
H A Dlockdep.cccbc05e1edcc7d1eae3b230e7a18b1e0e756e429 Mon Jun 03 15:55:48 UTC 2019 Jens Wiklander <jens.wiklander@linaro.org> core: lockdep: support lock destroy

With lockdep enabled (CFG_LOCKDEP=y), additional cleanup is needed when
a mutex is destroyed. This patch adds mutex_destroy_check() which is
called when a mutex is destroyed with mutex_destroy(). From
mutex_destroy_check() the corresponding lockdep node and all edges
referring to it are removed.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>