xref: /openbmc/linux/arch/arc/kernel/sys.c (revision 160b8e75)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <linux/syscalls.h>
4 #include <linux/signal.h>
5 #include <linux/unistd.h>
6 
7 #include <asm/syscalls.h>
8 
9 #define sys_clone	sys_clone_wrapper
10 
11 #undef __SYSCALL
12 #define __SYSCALL(nr, call) [nr] = (call),
13 
14 void *sys_call_table[NR_syscalls] = {
15 	[0 ... NR_syscalls-1] = sys_ni_syscall,
16 #include <asm/unistd.h>
17 };
18