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/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Heiko Carstens <[email protected]>
[[email protected]: compile fix for !CONFIG_COMPAT]
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
5 files changed