]> git.baikalelectronics.ru Git - kernel.git/commit
unify {de,}mangle_poll(), get rid of kernel-side POLL...
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 1 Feb 2018 20:13:18 +0000 (15:13 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 11 Feb 2018 22:37:22 +0000 (14:37 -0800)
commit2977c15cbacd1c9926e6b3c756cc0a0a6454b69c
tree5867e113f0232679d5125ca7d42ae4558dd0d554
parentec3b3c825c264fd3959c8248621b3d72deb49231
unify {de,}mangle_poll(), get rid of kernel-side POLL...

except, again, POLLFREE and POLL_BUSY_LOOP.

With this, we finally get to the promised end result:

 - POLL{IN,OUT,...} are plain integers and *not* in __poll_t, so any
   stray instances of ->poll() still using those will be caught by
   sparse.

 - eventpoll.c and select.c warning-free wrt __poll_t

 - no more kernel-side definitions of POLL... - userland ones are
   visible through the entire kernel (and used pretty much only for
   mangle/demangle)

 - same behavior as after the first series (i.e. sparc et.al. epoll(2)
   working correctly).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/blackfin/include/uapi/asm/poll.h
arch/frv/include/uapi/asm/poll.h
arch/m68k/include/uapi/asm/poll.h
arch/mips/include/uapi/asm/poll.h
arch/sparc/include/uapi/asm/poll.h
arch/xtensa/include/uapi/asm/poll.h
include/linux/poll.h
include/uapi/asm-generic/poll.h