1 /* 2 * OpenRISC sys_call_table.c 3 * 4 * Linux architectural port borrowing liberally from similar works of 5 * others. All original copyrights apply as per the original source 6 * declaration. 7 * 8 * Modifications for the OpenRISC architecture: 9 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 10 * 11 * This program is free software; you can redistribute it and/or 12 * modify it under the terms of the GNU General Public License 13 * as published by the Free Software Foundation; either version 14 * 2 of the License, or (at your option) any later version. 15 */ 16 17 #include <linux/syscalls.h> 18 #include <linux/signal.h> 19 #include <linux/unistd.h> 20 21 #include <asm/syscalls.h> 22 23 #undef __SYSCALL 24 #define __SYSCALL(nr, call) [nr] = (call), 25 26 void *sys_call_table[__NR_syscalls] = { 27 #include <asm/unistd.h> 28 }; 29