]> git.baikalelectronics.ru Git - kernel.git/commitdiff
virtio_ring: pull in spinlock header
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Aug 2021 16:26:05 +0000 (12:26 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 11 Aug 2021 10:44:24 +0000 (06:44 -0400)
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>
drivers/virtio/virtio_ring.c

index c2aaa0eff6df1869b9786fd6aeb12e5620fe7a83..dd95dfd85e9808575aeb65a04b86a49332d5db14 100644 (file)
@@ -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