diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2021-08-10 12:26:05 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-08-11 06:44:24 -0400 |
commit | f8ce72632fa7ed286cc9a62c35e279330a14d3e0 (patch) | |
tree | f75c7986f1413fdc3d230c2c2bf9d4e758ea582d /drivers/virtio | |
parent | ea2f6af16532511eb1cd8eb62845c37861f24ce8 (diff) | |
download | linux-stable-f8ce72632fa7ed286cc9a62c35e279330a14d3e0.tar.gz linux-stable-f8ce72632fa7ed286cc9a62c35e279330a14d3e0.tar.bz2 linux-stable-f8ce72632fa7ed286cc9a62c35e279330a14d3e0.zip |
virtio_ring: pull in spinlock header
we use a spinlock now pull in the correct header to
make virtio_ring.c self sufficient.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio')
-rw-r--r-- | drivers/virtio/virtio_ring.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index c2aaa0eff6df..dd95dfd85e98 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -11,6 +11,7 @@ #include <linux/module.h> #include <linux/hrtimer.h> #include <linux/dma-mapping.h> +#include <linux/spinlock.h> #include <xen/xen.h> #ifdef DEBUG |