2019-05-28 10:10:04 -07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2014-11-06 15:19:57 +08:00
|
|
|
/*
|
|
|
|
* Copyright Altera Corporation (C) 2013. All rights reserved
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/syscalls.h>
|
|
|
|
#include <linux/signal.h>
|
|
|
|
#include <linux/unistd.h>
|
|
|
|
|
|
|
|
#include <asm/syscalls.h>
|
|
|
|
|
|
|
|
#define __SYSCALL(nr, call) [nr] = (call),
|
2024-04-23 17:52:56 +02:00
|
|
|
#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
|
|
|
|
|
|
|
|
#define sys_mmap2 sys_mmap_pgoff
|
2014-11-06 15:19:57 +08:00
|
|
|
|
|
|
|
void *sys_call_table[__NR_syscalls] = {
|
2022-08-08 16:06:46 +01:00
|
|
|
[0 ... __NR_syscalls-1] = sys_ni_syscall,
|
2024-04-23 17:52:56 +02:00
|
|
|
#include <asm/syscall_table_32.h>
|
2014-11-06 15:19:57 +08:00
|
|
|
};
|