]> git.ipfire.org Git - thirdparty/kernel/linux.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)
commit7e89a37c477c4caacde7b511c64720e20104945f
treec0d41b9b88c123df614300236286fef0f2025c78
parentcfbe271667b7aba03b403aee916ccd457409d2e8
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