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