diff options
author | Jan Beulich <[email protected]> | 2011-09-19 17:32:15 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2011-09-21 16:51:23 -0400 |
commit | 04df355227fa75c015491153cfc93e7ea7a80112 (patch) | |
tree | 99914c01f75b6ab728c568faeccb37ab4a7a4330 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5fa99911a346e1f95c7932ff99a76693037e7927 (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 <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions