arm64: compat: Hook up io_pgetevents() for 32-bit tasks
authorWill Deacon <will.deacon@arm.com>
Thu, 3 Jan 2019 17:55:12 +0000 (17:55 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 4 Jan 2019 14:18:01 +0000 (14:18 +0000)
Commit 73aeb2cbcdc9 ("ARM: 8787/1: wire up io_pgetevents syscall")
hooked up the io_pgetevents() system call for 32-bit ARM, so we can
do the same for the compat wrapper on arm64.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/unistd.h
arch/arm64/include/asm/unistd32.h

index 85d5c102620473a5d96a3ef5ebc4e94e572b00fb..a7b1fc58ffdffdd0d58b22297b25a9d91995cd0e 100644 (file)
@@ -44,7 +44,7 @@
 #define __ARM_NR_compat_set_tls                (__ARM_NR_COMPAT_BASE + 5)
 #define __ARM_NR_COMPAT_END            (__ARM_NR_COMPAT_BASE + 0x800)
 
-#define __NR_compat_syscalls           399
+#define __NR_compat_syscalls           400
 #endif
 
 #define __ARCH_WANT_SYS_CLONE
index 2cd6dcf8d246313ed111ad3d42cad861dd1f5b18..04ee190b90fe6f2fe6c1655ba9f94f49aaee9958 100644 (file)
@@ -819,6 +819,8 @@ __SYSCALL(__NR_pkey_free, sys_pkey_free)
 __SYSCALL(__NR_statx, sys_statx)
 #define __NR_rseq 398
 __SYSCALL(__NR_rseq, sys_rseq)
+#define __NR_io_pgetevents 399
+__SYSCALL(__NR_io_pgetevents, compat_sys_io_pgetevents)
 
 /*
  * Please add new compat syscalls above this comment and update