Skip to content
Commit 4e70daaf authored by Jiri Kosina's avatar Jiri Kosina
Browse files

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: default avatarJiri Kosina <jkosina@suse.cz>
Tested-by: default avatarStefan Berger <stefanb@linux.vnet.ibm.com>
Acked-by: default avatarRajiv Andrade <srajiv@linux.vnet.ibm.com>
parent c3363c91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment