1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * OpenRISC sys_call_table.c
5 * Linux architectural port borrowing liberally from similar works of
6 * others. All original copyrights apply as per the original source
9 * Modifications for the OpenRISC architecture:
10 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
13 #include <linux/syscalls.h>
14 #include <linux/signal.h>
15 #include <linux/unistd.h>
17 #include <asm/syscalls.h>
19 #define __SYSCALL(nr, call) [nr] = (call),
20 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
22 #define sys_mmap2 sys_mmap_pgoff
23 #define sys_clone __sys_clone
24 #define sys_clone3 __sys_clone3
25 #define sys_fork __sys_fork
27 void *sys_call_table
[__NR_syscalls
] = {
28 #include <asm/syscall_table_32.h>