Merge tag 'pm-4.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux/fpc-iii.git] / arch / x86 / include / asm / seccomp.h
blob0c8c7c8861b4cbcf19c568dc78a312735f31f90a
1 #ifndef _ASM_X86_SECCOMP_H
2 #define _ASM_X86_SECCOMP_H
4 #include <asm/unistd.h>
6 #ifdef CONFIG_X86_32
7 #define __NR_seccomp_sigreturn __NR_sigreturn
8 #endif
10 #ifdef CONFIG_COMPAT
11 #include <asm/ia32_unistd.h>
12 #define __NR_seccomp_read_32 __NR_ia32_read
13 #define __NR_seccomp_write_32 __NR_ia32_write
14 #define __NR_seccomp_exit_32 __NR_ia32_exit
15 #define __NR_seccomp_sigreturn_32 __NR_ia32_sigreturn
16 #endif
18 #include <asm-generic/seccomp.h>
20 #endif /* _ASM_X86_SECCOMP_H */