]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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, 19 Oct 2011 17:33:48 +0000 (13:33 -0400)
commit99b9dd86f0cba380061e594fb281a1cc85ee02dc
treeca2051e6895676ea83907c3bc1ec1d368dc74b93
parent9d01012957e64259eeafd9d64d65880b18f273b1
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