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