OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82e89ea
)
vringh: pull in spinlock header
author
Michael S. Tsirkin
<mst@redhat.com>
Tue, 10 Aug 2021 16:25:05 +0000
(12:25 -0400)
committer
Michael 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 vring.h self sufficient.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/linux/vringh.h
patch
|
blob
|
history
diff --git
a/include/linux/vringh.h
b/include/linux/vringh.h
index
84db7b8
..
212892c
100644
(file)
--- 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>