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)
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

Simple merge