1 // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 3 * Copyright (C) 2009 Arnd Bergmann <arnd@arnd 4 * Copyright (C) 2012 Regents of the Universit 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 #define __SYSCALL_WITH_COMPAT(nr, native, comp 13 14 #undef __SYSCALL 15 #define __SYSCALL(nr, call) asmlinkage lon 16 #include <asm/syscall_table.h> 17 18 #undef __SYSCALL 19 #define __SYSCALL(nr, call) [nr] = __riscv 20 21 void * const sys_call_table[__NR_syscalls] = { 22 [0 ... __NR_syscalls - 1] = __riscv_sy 23 #include <asm/syscall_table.h> 24 }; 25
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.