]> Git Repo - linux.git/blob - arch/riscv/kernel/syscall_table.c
x86/config: Fix warning for 'make ARCH=x86_64 tinyconfig'
[linux.git] / arch / riscv / kernel / syscall_table.c
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Copyright (C) 2009 Arnd Bergmann <[email protected]>
4  * Copyright (C) 2012 Regents of the University of California
5  */
6
7 #include <linux/linkage.h>
8 #include <linux/syscalls.h>
9 #include <asm-generic/syscalls.h>
10 #include <asm/syscall.h>
11
12 #undef __SYSCALL
13 #define __SYSCALL(nr, call)     asmlinkage long __riscv_##call(const struct pt_regs *);
14 #include <asm/unistd.h>
15
16 #undef __SYSCALL
17 #define __SYSCALL(nr, call)     [nr] = __riscv_##call,
18
19 void * const sys_call_table[__NR_syscalls] = {
20         [0 ... __NR_syscalls - 1] = __riscv_sys_ni_syscall,
21 #include <asm/unistd.h>
22 };
This page took 0.032137 seconds and 4 git commands to generate.