drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / riscv / kernel / compat_syscall_table.c
blobe884c069e88fdb5a6abeedd29059cb908681e124
1 // SPDX-License-Identifier: GPL-2.0-only
3 #define __SYSCALL_COMPAT
5 #include <linux/compat.h>
6 #include <linux/syscalls.h>
7 #include <asm-generic/mman-common.h>
8 #include <asm-generic/syscalls.h>
9 #include <asm/syscall.h>
11 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, compat)
13 #undef __SYSCALL
14 #define __SYSCALL(nr, call) asmlinkage long __riscv_##call(const struct pt_regs *);
15 #include <asm/syscall_table_32.h>
17 #undef __SYSCALL
18 #define __SYSCALL(nr, call) [nr] = __riscv_##call,
20 asmlinkage long compat_sys_rt_sigreturn(void);
22 void * const compat_sys_call_table[__NR_syscalls] = {
23 [0 ... __NR_syscalls - 1] = __riscv_sys_ni_syscall,
24 #include <asm/syscall_table_32.h>