drm/panel-edp: Add BOE NV140FHM-NZ panel entry
[drm/drm-misc.git] / arch / riscv / kernel / syscall_table.c
blob6f1a36cb0f3f91aca3f3c77eef77107626589650
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3 * Copyright (C) 2009 Arnd Bergmann <arnd@arndb.de>
4 * Copyright (C) 2012 Regents of the University of California
5 */
7 #include <linux/linkage.h>
8 #include <linux/syscalls.h>
9 #include <asm-generic/syscalls.h>
10 #include <asm/syscall.h>
12 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
14 #undef __SYSCALL
15 #define __SYSCALL(nr, call) asmlinkage long __riscv_##call(const struct pt_regs *);
16 #include <asm/syscall_table.h>
18 #undef __SYSCALL
19 #define __SYSCALL(nr, call) [nr] = __riscv_##call,
21 void * const sys_call_table[__NR_syscalls] = {
22 [0 ... __NR_syscalls - 1] = __riscv_sys_ni_syscall,
23 #include <asm/syscall_table.h>