Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / loongarch / include / asm / seccomp.h
blob31d6ab42e43ef186b8c937e0a5397fa715534535
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef _ASM_SECCOMP_H
4 #define _ASM_SECCOMP_H
6 #include <asm/unistd.h>
8 #include <asm-generic/seccomp.h>
10 #ifdef CONFIG_32BIT
11 # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_LOONGARCH32
12 # define SECCOMP_ARCH_NATIVE_NR NR_syscalls
13 # define SECCOMP_ARCH_NATIVE_NAME "loongarch32"
14 #else
15 # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_LOONGARCH64
16 # define SECCOMP_ARCH_NATIVE_NR NR_syscalls
17 # define SECCOMP_ARCH_NATIVE_NAME "loongarch64"
18 #endif
20 #endif /* _ASM_SECCOMP_H */