linux/drivers/xen/xen-pciback
Jan Beulich 04df355227 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>
2011-09-21 16:51:23 -04:00
..
Makefile
conf_space.c
conf_space.h
conf_space_capability.c
conf_space_header.c
conf_space_quirks.c
conf_space_quirks.h
passthrough.c
pci_stub.c
pciback.h
pciback_ops.c
vpci.c
xenbus.c