Loading...
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
26void *sys_call_table[__NR_syscalls] = {
27#include <asm/unistd.h>
28};
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
22void *sys_call_table[__NR_syscalls] = {
23#include <asm/unistd.h>
24};