diff options
author | Jiri Kosina <jkosina@suse.cz> | 2012-02-29 10:29:23 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-03-05 14:06:59 +0100 |
commit | 4e70daaf05a181b6968e29e72e9f1c16a183e92c (patch) | |
tree | 34001ce04cbc2476eab137483cdb42e084ac44cf /lib/prio_tree.c | |
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>
Diffstat (limited to 'lib/prio_tree.c')
0 files changed, 0 insertions, 0 deletions