1*6aa7923cSYiFei Zhu /* SPDX-License-Identifier: GPL-2.0-only */ 2*6aa7923cSYiFei Zhu #ifndef _ASM_SECCOMP_H 3*6aa7923cSYiFei Zhu #define _ASM_SECCOMP_H 4*6aa7923cSYiFei Zhu 5*6aa7923cSYiFei Zhu #include <asm-generic/seccomp.h> 6*6aa7923cSYiFei Zhu 7*6aa7923cSYiFei Zhu #ifdef CONFIG_64BIT 8*6aa7923cSYiFei Zhu # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC64 9*6aa7923cSYiFei Zhu # define SECCOMP_ARCH_NATIVE_NR NR_syscalls 10*6aa7923cSYiFei Zhu # define SECCOMP_ARCH_NATIVE_NAME "parisc64" 11*6aa7923cSYiFei Zhu # ifdef CONFIG_COMPAT 12*6aa7923cSYiFei Zhu # define SECCOMP_ARCH_COMPAT AUDIT_ARCH_PARISC 13*6aa7923cSYiFei Zhu # define SECCOMP_ARCH_COMPAT_NR NR_syscalls 14*6aa7923cSYiFei Zhu # define SECCOMP_ARCH_COMPAT_NAME "parisc" 15*6aa7923cSYiFei Zhu # endif 16*6aa7923cSYiFei Zhu #else /* !CONFIG_64BIT */ 17*6aa7923cSYiFei Zhu # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC 18*6aa7923cSYiFei Zhu # define SECCOMP_ARCH_NATIVE_NR NR_syscalls 19*6aa7923cSYiFei Zhu # define SECCOMP_ARCH_NATIVE_NAME "parisc" 20*6aa7923cSYiFei Zhu #endif 21*6aa7923cSYiFei Zhu 22*6aa7923cSYiFei Zhu #endif /* _ASM_SECCOMP_H */ 23