]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
uio: mark uio.h functions __KERNEL__ only
authorJiri Slaby <jirislaby@gmail.com>
Wed, 29 Jul 2009 22:04:19 +0000 (15:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 30 Jul 2009 02:10:39 +0000 (19:10 -0700)
commit812ed032cdc8138b7546eecc996879756b92d801
tree6285496aedfaedbf63b472a2f09ab944af9a86e0
parent8da14b5fc32368f582df09fe9c0bec2507868583
uio: mark uio.h functions __KERNEL__ only

To avoid userspace build failures such as:

.../linux/uio.h:37: error: expected `=', `,', `;', `asm' or `__attribute__' before `iov_length'
.../linux/uio.h:47: error: expected declaration specifiers or `...' before `size_t'

move uio functions inside a __KERNEL__ block.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/uio.h