tpm_tis: fix tis_lock with respect to RCU
cleanup_tis() -> tpm_remove_hardware() -> syncrhonize_rcu() is being called in an atomic context (tis_lock spinlock held), which is not allowed. Convert tis_lock to mutex. Signed-off-by: NJiri Kosina <jkosina@suse.cz> Tested-by: NStefan Berger <stefanb@linux.vnet.ibm.com> Acked-by: NRajiv Andrade <srajiv@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录