Path: blob/master/arch/openrisc/kernel/sys_call_table.c
26424 views
// SPDX-License-Identifier: GPL-2.0-or-later1/*2* OpenRISC sys_call_table.c3*4* Linux architectural port borrowing liberally from similar works of5* others. All original copyrights apply as per the original source6* declaration.7*8* Modifications for the OpenRISC architecture:9* Copyright (C) 2010-2011 Jonas Bonn <[email protected]>10*/1112#include <linux/syscalls.h>13#include <linux/signal.h>14#include <linux/unistd.h>1516#include <asm/syscalls.h>1718#define __SYSCALL(nr, call) [nr] = (call),19#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)2021#define sys_mmap2 sys_mmap_pgoff22#define sys_clone __sys_clone23#define sys_clone3 __sys_clone324#define sys_fork __sys_fork2526void *sys_call_table[__NR_syscalls] = {27#include <asm/syscall_table_32.h>28};293031