Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / nios2 / kernel / syscall_table.c
blob434694067d8f5568f5a494b9eece306c5534c4a2
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3 * Copyright Altera Corporation (C) 2013. All rights reserved
4 */
6 #include <linux/syscalls.h>
7 #include <linux/signal.h>
8 #include <linux/unistd.h>
10 #include <asm/syscalls.h>
12 #define __SYSCALL(nr, call) [nr] = (call),
13 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
15 #define sys_mmap2 sys_mmap_pgoff
17 void *sys_call_table[__NR_syscalls] = {
18 [0 ... __NR_syscalls-1] = sys_ni_syscall,
19 #include <asm/syscall_table_32.h>