1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (C) 2005-2017 Andes Technology Corporation 3 4 #include <linux/syscalls.h> 5 #include <linux/signal.h> 6 #include <linux/unistd.h> 7 #include <asm/syscalls.h> 8 9 #undef __SYSCALL 10 #define __SYSCALL(nr, call) [nr] = (call), 11 12 #define sys_rt_sigreturn sys_rt_sigreturn_wrapper 13 #define sys_fadvise64_64 sys_fadvise64_64_wrapper 14 void *sys_call_table[__NR_syscalls] __aligned(8192) = { 15 [0 ... __NR_syscalls - 1] = sys_ni_syscall, 16 #include <asm/unistd.h> 17 }; 18