]> git.baikalelectronics.ru Git - kernel.git/commit
xen/gntdev: convert priv->lock to a mutex
authorDavid Vrabel <david.vrabel@citrix.com>
Fri, 9 Jan 2015 18:06:12 +0000 (18:06 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 28 Jan 2015 14:03:14 +0000 (14:03 +0000)
commit489ab89dbdf75d0b99aaacd0f3cf21d213646109
tree060b2f6467849669fdd64b0a64c250c1a7d5e82e
parentff299e3ea267ee64f93d48d204f058f87ad7bb87
xen/gntdev: convert priv->lock to a mutex

Unmapping may require sleeping and we unmap while holding priv->lock, so
convert it to a mutex.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
drivers/xen/gntdev.c