• Arnd Bergmann's avatar
    ipc: Fix building compat mode without sysvipc · 7e89a37c
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    7e89a37c
sys_ni.c 9.14 KB