VSOCK: Split vm_sockets.h into kernel/uapi
authorAndy King <acking@vmware.com>
Thu, 7 Mar 2013 05:26:13 +0000 (05:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Mar 2013 17:24:48 +0000 (12:24 -0500)
commitc031e234ee304b507b79f76a7677ea0a7a8890e8
treeeae2744a314f1eb1875699531383d0b2da431d94
parent7f0e44ac9f7f12a2519bfed9ea4df3c1471bd8bb
VSOCK: Split vm_sockets.h into kernel/uapi

Split the vSockets header into kernel and UAPI parts.  The former gets the bits
that used to be in __KERNEL__ guards, while the latter gets everything that is
user-visible.  Tested by compiling vsock (+transport) and a simple user-mode
vSockets application.

Reported-by: David Howells <dhowells@redhat.com>
Acked-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: Andy King <acking@vmware.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/vm_sockets.h [new file with mode: 0644]
include/uapi/linux/vm_sockets.h