summaryrefslogtreecommitdiff
path: root/include/linux/vringh.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2021-08-10 19:25:05 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-08-11 13:44:24 +0300
commitea2f6af16532511eb1cd8eb62845c37861f24ce8 (patch)
tree34bb70b51308c642fca4dd188fda3f0c8336cd75 /include/linux/vringh.h
parent82e89ea077b93b3c131fa175b0df3acb5b1d5cdf (diff)
downloadlinux-ea2f6af16532511eb1cd8eb62845c37861f24ce8.tar.xz
vringh: pull in spinlock header
we use a spinlock now pull in the correct header to make vring.h self sufficient. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/linux/vringh.h')
-rw-r--r--include/linux/vringh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/vringh.h b/include/linux/vringh.h
index 84db7b8f912f..212892cf9822 100644
--- a/include/linux/vringh.h
+++ b/include/linux/vringh.h
@@ -14,6 +14,7 @@
#include <linux/virtio_byteorder.h>
#include <linux/uio.h>
#include <linux/slab.h>
+#include <linux/spinlock.h>
#if IS_REACHABLE(CONFIG_VHOST_IOTLB)
#include <linux/dma-direction.h>
#include <linux/vhost_iotlb.h>