]> git.baikalelectronics.ru Git - kernel.git/commit
ipc: Fix building compat mode without sysvipc
authorArnd Bergmann <arnd@arndb.de>
Thu, 28 Feb 2019 14:22:53 +0000 (15:22 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 6 Mar 2019 15:00:56 +0000 (16:00 +0100)
commitb707daa74289d4180b611a9cbef44dce5b33d5ee
treec0d41b9b88c123df614300236286fef0f2025c78
parentc380e362e81168014b3ec6c73c0d55d6b7674247
ipc: Fix building compat mode without sysvipc

As John Stultz noticed, my y2038 syscall series caused a link
failure when CONFIG_SYSVIPC is disabled but CONFIG_COMPAT is
enabled:

arch/arm64/kernel/sys32.o:(.rodata+0x960): undefined reference to `__arm64_compat_sys_old_semctl'
arch/arm64/kernel/sys32.o:(.rodata+0x980): undefined reference to `__arm64_compat_sys_old_msgctl'
arch/arm64/kernel/sys32.o:(.rodata+0x9a0): undefined reference to `__arm64_compat_sys_old_shmctl'

Add the missing entries in kernel/sys_ni.c for the new system
calls.

Cc: Laura Abbott <labbott@redhat.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
kernel/sys_ni.c