1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * OpenRISC sys_call_table.c 4 * 5 * Linux architectural port borrowing liberally from similar works of 6 * others. All original copyrights apply as per the original source 7 * declaration. 8 * 9 * Modifications for the OpenRISC architecture: 10 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 11 */ 12 13 #include <linux/syscalls.h> 14 #include <linux/signal.h> 15 #include <linux/unistd.h> 16 17 #include <asm/syscalls.h> 18 19 #undef __SYSCALL 20 #define __SYSCALL(nr, call) [nr] = (call), 21 22 void *sys_call_table[__NR_syscalls] = { 23 #include <asm/unistd.h> 24 };