]> Git Repo - linux.git/blob - arch/loongarch/include/asm/seccomp.h
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[linux.git] / arch / loongarch / include / asm / seccomp.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2
3 #ifndef _ASM_SECCOMP_H
4 #define _ASM_SECCOMP_H
5
6 #include <asm/unistd.h>
7
8 #include <asm-generic/seccomp.h>
9
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
19
20 #endif /* _ASM_SECCOMP_H */
This page took 0.033551 seconds and 4 git commands to generate.