WIP FPC-III support
[linux/fpc-iii.git] / arch / parisc / include / asm / seccomp.h
blobb058b22203224c8b19dff1de3af626f4cb5511ce
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef _ASM_SECCOMP_H
3 #define _ASM_SECCOMP_H
5 #include <asm-generic/seccomp.h>
7 #ifdef CONFIG_64BIT
8 # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC64
9 # define SECCOMP_ARCH_NATIVE_NR NR_syscalls
10 # define SECCOMP_ARCH_NATIVE_NAME "parisc64"
11 # ifdef CONFIG_COMPAT
12 # define SECCOMP_ARCH_COMPAT AUDIT_ARCH_PARISC
13 # define SECCOMP_ARCH_COMPAT_NR NR_syscalls
14 # define SECCOMP_ARCH_COMPAT_NAME "parisc"
15 # endif
16 #else /* !CONFIG_64BIT */
17 # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC
18 # define SECCOMP_ARCH_NATIVE_NR NR_syscalls
19 # define SECCOMP_ARCH_NATIVE_NAME "parisc"
20 #endif
22 #endif /* _ASM_SECCOMP_H */