xen/pciback: use mutex rather than spinlock in vpci backend
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 21 Sep 2011 21:04:47 +0000 (17:04 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 21 Sep 2011 22:18:18 +0000 (18:18 -0400)
commit74d33dedc2fb8d98821bcf7df9800ce59456502e
tree3249b1bb83c5647f8f4c1fb27b308f308780b808
parentb1766b62890e3bba1a778a20ef8bf9348d6096c2
xen/pciback: use mutex rather than spinlock in vpci backend

Similar to the "xen/pciback: use mutex rather than spinlock in passthrough backend"
this patch converts the vpci backend to use a mutex instead of
a spinlock. Note that the code taking the lock won't ever get called
from non-sleepable context

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xen-pciback/vpci.c