]> git.baikalelectronics.ru Git - kernel.git/commit
vhost: Include linux/uio.h instead of linux/socket.h
authorAsias He <asias@redhat.com>
Mon, 19 Aug 2013 01:23:19 +0000 (09:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2013 22:05:04 +0000 (15:05 -0700)
commitd6937b11374d4170579822bdbc01fc75f15b8a7a
tree98cfa9d8437a405da8e05a2f6b311f9273ffae2c
parentf72f311d6795b8d62ad4f9ecb8781e2983a375cf
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>
drivers/vhost/vhost.c