blob: f1ead9df96ca55b11fc7319cfc7b852a7d019676 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2009 Arnd Bergmann <arnd@arndb.de>
4 * Copyright (C) 2012 Regents of the University of California
5 */
6
7#include <linux/linkage.h>
8#include <linux/syscalls.h>
9#include <asm-generic/syscalls.h>
10#include <asm/vdso.h>
11#include <asm/syscall.h>
12
13#undef __SYSCALL
14#define __SYSCALL(nr, call) [nr] = (call),
15
16void *sys_call_table[__NR_syscalls] = {
17 [0 ... __NR_syscalls - 1] = sys_ni_syscall,
18#include <asm/unistd.h>
19};