diff options
author | Asias He <asias@redhat.com> | 2013-08-18 21:23:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-20 18:05:04 -0400 |
commit | 35596b2796713c6a9dc05759837fa9f0e156a200 (patch) | |
tree | 98cfa9d8437a405da8e05a2f6b311f9273ffae2c /drivers/vhost | |
parent | 397b41746333ad386d91d23ea0f79481320dcdcc (diff) |
vhost: Include linux/uio.h instead of linux/socket.h
memcpy_fromiovec is moved from net/core/iovec.c to lib/iovec.c.
linux/uio.h provides the declaration for memcpy_fromiovec.
Include linux/uio.h instead of inux/socket.h for it.
Signed-off-by: Asias He <asias@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost')
-rw-r--r-- | drivers/vhost/vhost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index e58cf0001cee..448efe01f18a 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | #include <linux/eventfd.h> | 14 | #include <linux/eventfd.h> |
15 | #include <linux/vhost.h> | 15 | #include <linux/vhost.h> |
16 | #include <linux/socket.h> /* memcpy_fromiovec */ | 16 | #include <linux/uio.h> |
17 | #include <linux/mm.h> | 17 | #include <linux/mm.h> |
18 | #include <linux/mmu_context.h> | 18 | #include <linux/mmu_context.h> |
19 | #include <linux/miscdevice.h> | 19 | #include <linux/miscdevice.h> |