drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / riscv / include / asm / unistd.h
blobe6d904fa67c5ea88b3de01003e5f64fcdb0e8fd3
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2012 Regents of the University of California
4 */
6 #define __ARCH_WANT_SYS_CLONE
8 #ifdef CONFIG_COMPAT
9 #define __ARCH_WANT_COMPAT_TRUNCATE64
10 #define __ARCH_WANT_COMPAT_FTRUNCATE64
11 #define __ARCH_WANT_COMPAT_FALLOCATE
12 #define __ARCH_WANT_COMPAT_PREAD64
13 #define __ARCH_WANT_COMPAT_PWRITE64
14 #define __ARCH_WANT_COMPAT_SYNC_FILE_RANGE
15 #define __ARCH_WANT_COMPAT_READAHEAD
16 #define __ARCH_WANT_COMPAT_FADVISE64_64
17 #endif
19 #if defined(__LP64__) && !defined(__SYSCALL_COMPAT)
20 #define __ARCH_WANT_NEW_STAT
21 #define __ARCH_WANT_SET_GET_RLIMIT
22 #endif /* __LP64__ */
24 #define __ARCH_WANT_MEMFD_SECRET
27 #include <uapi/asm/unistd.h>
29 #define NR_syscalls (__NR_syscalls)