2019-05-29 22:18:00 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2017-07-11 09:07:09 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2009 Arnd Bergmann <arnd@arndb.de>
|
|
|
|
* Copyright (C) 2012 Regents of the University of California
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/linkage.h>
|
|
|
|
#include <linux/syscalls.h>
|
|
|
|
#include <asm-generic/syscalls.h>
|
2019-10-18 06:21:28 +08:00
|
|
|
#include <asm/syscall.h>
|
2017-07-11 09:07:09 +08:00
|
|
|
|
|
|
|
#undef __SYSCALL
|
|
|
|
#define __SYSCALL(nr, call) [nr] = (call),
|
|
|
|
|
2021-03-30 02:23:24 +08:00
|
|
|
void * const sys_call_table[__NR_syscalls] = {
|
2017-07-11 09:07:09 +08:00
|
|
|
[0 ... __NR_syscalls - 1] = sys_ni_syscall,
|
|
|
|
#include <asm/unistd.h>
|
|
|
|
};
|