summaryrefslogtreecommitdiff
path: root/crypto/algif_skcipher.c
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2011-09-19 17:32:15 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-09-21 16:51:23 -0400
commit04df355227fa75c015491153cfc93e7ea7a80112 (patch)
tree99914c01f75b6ab728c568faeccb37ab4a7a4330 /crypto/algif_skcipher.c
parent5fa99911a346e1f95c7932ff99a76693037e7927 (diff)
xen/pciback: use mutex rather than spinlock in passthrough backend
To accommodate the call to the callback function from __xen_pcibk_publish_pci_roots(), which so far dropped and the re- acquired the lock without checking that the list didn't actually change, convert the code to use a mutex instead (observing that the code taking the lock won't ever get called from non-sleepable context). As a result, drop the bogus use of list_for_each_entry_safe() and remove the inappropriate dropping of the lock. Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'crypto/algif_skcipher.c')
0 files changed, 0 insertions, 0 deletions