19952f691SThomas Gleixner // SPDX-License-Identifier: GPL-2.0-only
21000197dSLey Foon Tan /*
31000197dSLey Foon Tan  * Copyright Altera Corporation (C) 2013. All rights reserved
41000197dSLey Foon Tan  */
51000197dSLey Foon Tan 
61000197dSLey Foon Tan #include <linux/syscalls.h>
71000197dSLey Foon Tan #include <linux/signal.h>
81000197dSLey Foon Tan #include <linux/unistd.h>
91000197dSLey Foon Tan 
101000197dSLey Foon Tan #include <asm/syscalls.h>
111000197dSLey Foon Tan 
121000197dSLey Foon Tan #define __SYSCALL(nr, call) [nr] = (call),
13*ef608c57SArnd Bergmann #define __SYSCALL_WITH_COMPAT(nr, native, compat)        __SYSCALL(nr, native)
14*ef608c57SArnd Bergmann 
15*ef608c57SArnd Bergmann #define sys_mmap2 sys_mmap_pgoff
161000197dSLey Foon Tan 
171000197dSLey Foon Tan void *sys_call_table[__NR_syscalls] = {
1845ec746cSAl Viro 	[0 ... __NR_syscalls-1] = sys_ni_syscall,
19*ef608c57SArnd Bergmann #include <asm/syscall_table_32.h>
201000197dSLey Foon Tan };
21