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
..
2011-08-05 22:16:42 -04:00
2011-07-26 16:49:47 -07:00
2011-07-28 01:30:07 -07:00
2011-07-22 14:39:51 +09:30
2011-09-11 09:33:41 -03:00
2011-07-26 16:49:47 -07:00
2011-07-25 21:00:19 -07:00
2011-07-26 16:49:47 -07:00
2011-09-10 17:31:31 -07:00
2011-07-26 16:49:47 -07:00
2011-08-25 16:25:33 -07:00