aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-12-31 23:12:32 +0100
committerArnd Bergmann <arnd@arndb.de>2019-01-25 17:22:50 +0100
commitb41c51c8e194c0bdfb4b1778a137aea8246c86cd (patch)
tree99973f9fdc01b72f5fcfc8cd3ebf212b8ee07cc0 /arch/parisc/kernel
parentarch: add split IPC system calls where needed (diff)
downloadlinux-dev-b41c51c8e194c0bdfb4b1778a137aea8246c86cd.tar.xz
linux-dev-b41c51c8e194c0bdfb4b1778a137aea8246c86cd.zip
arch: add pkey and rseq syscall numbers everywhere
Most architectures define system call numbers for the rseq and pkey system calls, even when they don't support the features, and perhaps never will. Only a few architectures are missing these, so just define them anyway for consistency. If we decide to add them later to one of these, the system call numbers won't get out of sync then. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r--arch/parisc/kernel/syscalls/syscall.tbl4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/parisc/kernel/syscalls/syscall.tbl b/arch/parisc/kernel/syscalls/syscall.tbl
index 9bbd2f9f56c8..71873bb72782 100644
--- a/arch/parisc/kernel/syscalls/syscall.tbl
+++ b/arch/parisc/kernel/syscalls/syscall.tbl
@@ -367,3 +367,7 @@
348 common pwritev2 sys_pwritev2 compat_sys_pwritev2
349 common statx sys_statx
350 common io_pgetevents sys_io_pgetevents compat_sys_io_pgetevents
+351 common pkey_mprotect sys_pkey_mprotect
+352 common pkey_alloc sys_pkey_alloc
+353 common pkey_free sys_pkey_free
+354 common rseq sys_rseq