]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
s390/seccomp: include generic seccomp header file
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 1 Apr 2016 12:35:16 +0000 (13:35 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 1 Apr 2016 15:20:55 +0000 (17:20 +0200)
commit4f375903ccbff78e1da02133e51e37a097cd3313
treee6f3a5a0b72256a3c582643d3eecd3535796dd46
parent9d89d9e61d361f3adb75e1aebe4bb367faf16cfa
s390/seccomp: include generic seccomp header file

Fixes this build error on linux-next:

kernel/seccomp.c: In function '__secure_computing_strict':
kernel/seccomp.c:526:3: error: implicit declaration of function
'get_compat_mode1_syscalls'

The retrieval of compat syscall numbers were moved into inline function
defined in asm-generic header but the asm-generic header is not being
used by s390.

[heiko.carstens@de.ibm.com]: even though the build error will trigger
only in the next merge window it makes sense to include the generic
header file already now.

Fixes: ("seccomp: Get compat syscalls from asm-generic header")
Cc: Matt Redfearn <matt.redfearn@imgtec.com>
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/seccomp.h