diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-01-16 08:15:20 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-01-18 03:33:18 -0500 |
commit | 58fa4a410fc31afe08d0d0c6b6d8860c22ec17c2 (patch) | |
tree | 77b202fac335c9b4e142360ccab85e75fcd6f05e /kernel/sys_ni.c | |
parent | 1ecff5ef0a70e7fd32a0b9cf6ad7ac8285462697 (diff) |
ipc: introduce ksys_ipc()/compat_ksys_ipc() for s390
The sys_ipc() and compat_ksys_ipc() functions are meant to only
be used from the system call table, not called by another function.
Introduce ksys_*() interfaces for this purpose, as we have done
for many other system calls.
Link: https://lore.kernel.org/lkml/20190116131527.2071570-3-arnd@arndb.de
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
[heiko.carstens@de.ibm.com: compile fix for !CONFIG_COMPAT]
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'kernel/sys_ni.c')
-rw-r--r-- | kernel/sys_ni.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c index ab9d0e3c6d50..bc934f31ab10 100644 --- a/kernel/sys_ni.c +++ b/kernel/sys_ni.c | |||
@@ -366,6 +366,7 @@ COND_SYSCALL(kexec_file_load); | |||
366 | /* s390 */ | 366 | /* s390 */ |
367 | COND_SYSCALL(s390_pci_mmio_read); | 367 | COND_SYSCALL(s390_pci_mmio_read); |
368 | COND_SYSCALL(s390_pci_mmio_write); | 368 | COND_SYSCALL(s390_pci_mmio_write); |
369 | COND_SYSCALL(s390_ipc); | ||
369 | COND_SYSCALL_COMPAT(s390_ipc); | 370 | COND_SYSCALL_COMPAT(s390_ipc); |
370 | 371 | ||
371 | /* powerpc */ | 372 | /* powerpc */ |