1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Copyright Altera Corporation (C) 2013. All rights reserved
4  */
5 
6 #include <linux/syscalls.h>
7 #include <linux/signal.h>
8 #include <linux/unistd.h>
9 
10 #include <asm/syscalls.h>
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