summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vhost.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-05-06 12:29:36 +0200
committerMichael S. Tsirkin <mst@redhat.com>2013-05-06 13:04:06 +0200
commit7542a6b0d273ba4338028d39bc0e6e8cbfc68898 (patch)
tree3f5744c642cff2c4b5eaa75e78f4cebcb54531ab /drivers/vhost/vhost.c
parentvhost-net: Cleanup vhost_ubuf and vhost_zcopy (diff)
downloadlinux-7542a6b0d273ba4338028d39bc0e6e8cbfc68898.tar.xz
linux-7542a6b0d273ba4338028d39bc0e6e8cbfc68898.zip
vhost: drop virtio_net.h dependency
There's no net specific code in vhost.c anymore, don't include the virtio_net.h header. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/vhost/vhost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index de9441a1b158..beee7f5787e6 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -13,7 +13,7 @@
#include <linux/eventfd.h>
#include <linux/vhost.h>
-#include <linux/virtio_net.h>
+#include <linux/socket.h> /* memcpy_fromiovec */
#include <linux/mm.h>
#include <linux/mmu_context.h>
#include <linux/miscdevice.h>