commit | 4e70daaf05a181b6968e29e72e9f1c16a183e92c | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Wed Feb 29 10:29:23 2012 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Mar 05 14:06:59 2012 +0100 |
tree | 34001ce04cbc2476eab137483cdb42e084ac44cf | |
parent | c3363c912ba743e6f981ba58c744e413fc41f943 [diff] |
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: Jiri Kosina <jkosina@suse.cz> Tested-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>