BACKPORT: epoll: fix compat syscall wire up of epoll_pwait2

Commit b0a0c2615f6f ("epoll: wire up syscall epoll_pwait2") wired up
the 64 bit syscall instead of the compat variant in a couple of places.

Fixes: b0a0c2615f6f ("epoll: wire up syscall epoll_pwait2")
Change-Id: Ida2267e953240c036d64bc61177ee72bb20f35a3
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: 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>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
This commit is contained in:
Heiko Carstens 2020-12-20 10:58:30 +01:00 • committed by Sorayukii
commit 9a80de89f0
2 changed files with 2 additions and 2 deletions

View file

@ -824,7 +824,7 @@ __SYSCALL(__NR_pidfd_open, sys_pidfd_open)
#define __NR_close_range 436
__SYSCALL(__NR_close_range, sys_close_range)
#define __NR_epoll_pwait2 441
__SYSCALL(__NR_epoll_pwait2, sys_epoll_pwait2)
__SYSCALL(__NR_epoll_pwait2, compat_sys_epoll_pwait2)
/*
* Please add new compat syscalls above this comment and update

View file

@ -393,4 +393,4 @@
424 i386 pidfd_send_signal sys_pidfd_send_signal
434 i386 pidfd_open sys_pidfd_open
436 i386 close_range sys_close_range
441 i386 epoll_pwait2 sys_epoll_pwait2 __ia32_sys_epoll_pwait2
441 i386 epoll_pwait2 sys_epoll_pwait2 compat_sys_epoll_pwait2