diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2021-08-10 12:25:05 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-08-11 06:44:24 -0400 |
commit | ea2f6af16532511eb1cd8eb62845c37861f24ce8 (patch) | |
tree | 34bb70b51308c642fca4dd188fda3f0c8336cd75 /include/linux/vringh.h | |
parent | 82e89ea077b93b3c131fa175b0df3acb5b1d5cdf (diff) | |
download | linux-ea2f6af16532511eb1cd8eb62845c37861f24ce8.tar.gz linux-ea2f6af16532511eb1cd8eb62845c37861f24ce8.tar.bz2 linux-ea2f6af16532511eb1cd8eb62845c37861f24ce8.zip |
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.h | 1 |
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> |