summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/virqfd.c
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-03-17 07:43:21 +0800
committerAlex Williamson <alex.williamson@redhat.com>2015-03-17 08:20:31 -0600
commit66fdc052d7dba5bb8386f7a1a38107ba8307a59e (patch)
tree358f1bb25df9203d4533a3f31ee406cd2b0e5686 /drivers/vfio/virqfd.c
parent2f51bf4be99386f49841b6365a85a5cabc148565 (diff)
downloadop-kernel-dev-66fdc052d7dba5bb8386f7a1a38107ba8307a59e.zip
op-kernel-dev-66fdc052d7dba5bb8386f7a1a38107ba8307a59e.tar.gz
vfio: virqfd_lock can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Reviewed-by: Eric Auger <eric.auger@linaro.org> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/virqfd.c')
-rw-r--r--drivers/vfio/virqfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/virqfd.c b/drivers/vfio/virqfd.c
index 5967899..3d19aaf 100644
--- a/drivers/vfio/virqfd.c
+++ b/drivers/vfio/virqfd.c
@@ -16,7 +16,7 @@
#include <linux/slab.h>
static struct workqueue_struct *vfio_irqfd_cleanup_wq;
-DEFINE_SPINLOCK(virqfd_lock);
+static DEFINE_SPINLOCK(virqfd_lock);
int __init vfio_virqfd_init(void)
{
OpenPOWER on IntegriCloud