summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-04-01 14:35:16 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-04-01 17:20:55 +0200
commit4f375903ccbff78e1da02133e51e37a097cd3313 (patch)
treee6f3a5a0b72256a3c582643d3eecd3535796dd46 /arch
parents390/pci: add extra padding to function measurement block (diff)
downloadlinux-4f375903ccbff78e1da02133e51e37a097cd3313.tar.xz
linux-4f375903ccbff78e1da02133e51e37a097cd3313.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/include/asm/seccomp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/seccomp.h b/arch/s390/include/asm/seccomp.h
index 781a9cf9b002..e10f8337367b 100644
--- a/arch/s390/include/asm/seccomp.h
+++ b/arch/s390/include/asm/seccomp.h
@@ -13,4 +13,6 @@
#define __NR_seccomp_exit_32 __NR_exit
#define __NR_seccomp_sigreturn_32 __NR_sigreturn
+#include <asm-generic/seccomp.h>
+
#endif /* _ASM_S390_SECCOMP_H */