xref: /linux/arch/arc/kernel/sys.c (revision 61d0b5a4b2777dcf5daef245e212b3c1fa8091ca)
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 #define sys_fork	sys_fork_wrapper
10 #define sys_vfork	sys_vfork_wrapper
11 
12 #undef __SYSCALL
13 #define __SYSCALL(nr, call) [nr] = (call),
14 
15 void *sys_call_table[NR_syscalls] = {
16 	[0 ... NR_syscalls-1] = sys_ni_syscall,
17 #include <asm/unistd.h>
18 };
19