2019-05-29 14:18:00 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2017-07-11 01:07:09 +00: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>
|
2017-10-25 21:32:16 +00:00
|
|
|
#include <asm/vdso.h>
|
2019-10-17 22:21:28 +00:00
|
|
|
#include <asm/syscall.h>
|
2017-07-11 01:07:09 +00:00
|
|
|
|
|
|
|
#undef __SYSCALL
|
|
|
|
#define __SYSCALL(nr, call) [nr] = (call),
|
|
|
|
|
2021-03-29 18:23:24 +00:00
|
|
|
void * const sys_call_table[__NR_syscalls] = {
|
2017-07-11 01:07:09 +00:00
|
|
|
[0 ... __NR_syscalls - 1] = sys_ni_syscall,
|
|
|
|
#include <asm/unistd.h>
|
|
|
|
};
|