summaryrefslogtreecommitdiff
path: root/arch/arm/mm/pabort-v7.S
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2020-12-19 01:05:38 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-12-19 22:18:38 +0300
commit58169a52ebc9a733aeb5bea857bc5daa71a301bb (patch)
tree8aa1a1b62d408d9be09301fbae56af421755178e /arch/arm/mm/pabort-v7.S
parent7cdf7c20e97141eadb05121cc521c8eff47e7d93 (diff)
downloadlinux-58169a52ebc9a733aeb5bea857bc5daa71a301bb.tar.xz
epoll: add syscall epoll_pwait2
Add syscall epoll_pwait2, an epoll_wait variant with nsec resolution that replaces int timeout with struct timespec. It is equivalent otherwise. int epoll_pwait2(int fd, struct epoll_event *events, int maxevents, const struct timespec *timeout, const sigset_t *sigset); The underlying hrtimer is already programmed with nsec resolution. pselect and ppoll also set nsec resolution timeout with timespec. The sigset_t in epoll_pwait has a compat variant. epoll_pwait2 needs the same. For timespec, only support this new interface on 2038 aware platforms that define __kernel_timespec_t. So no CONFIG_COMPAT_32BIT_TIME. Link: https://lkml.kernel.org/r/20201121144401.3727659-3-willemdebruijn.kernel@gmail.com Signed-off-by: Willem de Bruijn <willemb@google.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/mm/pabort-v7.S')
0 files changed, 0 insertions, 0 deletions