drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / riscv / include / asm / seccomp.h
blobc7ee6a3507bee2311306ca83d536f0d14e1f6b13
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_64BIT
11 # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_RISCV64
12 # define SECCOMP_ARCH_NATIVE_NR NR_syscalls
13 # define SECCOMP_ARCH_NATIVE_NAME "riscv64"
14 #else /* !CONFIG_64BIT */
15 # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_RISCV32
16 # define SECCOMP_ARCH_NATIVE_NR NR_syscalls
17 # define SECCOMP_ARCH_NATIVE_NAME "riscv32"
18 #endif
20 #endif /* _ASM_SECCOMP_H */