提交 15a2cb7b 编写于 作者: M Marcelo Tosatti 提交者: Michael S. Tsirkin

vhost.c: include <linux/vhost.h> last

So the userspace headers define KERNEL_STRICT_NAMES and there's no
conflict on type definition for older kernels.
Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 c6b35ac4
...@@ -10,13 +10,13 @@ ...@@ -10,13 +10,13 @@
* the COPYING file in the top-level directory. * the COPYING file in the top-level directory.
*/ */
#include <linux/vhost.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/eventfd.h> #include <sys/eventfd.h>
#include "vhost.h" #include "vhost.h"
#include "hw/hw.h" #include "hw/hw.h"
/* For range_get_last */ /* For range_get_last */
#include "pci.h" #include "pci.h"
#include <linux/vhost.h>
static void vhost_dev_sync_region(struct vhost_dev *dev, static void vhost_dev_sync_region(struct vhost_dev *dev,
uint64_t mfirst, uint64_t mlast, uint64_t mfirst, uint64_t mlast,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册