]>
Commit | Line | Data |
---|---|---|
e2c0cdfb PD |
1 | /* |
2 | * Copyright (C) 2009 Arnd Bergmann <arnd@arndb.de> | |
3 | * Copyright (C) 2012 Regents of the University of California | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or | |
6 | * modify it under the terms of the GNU General Public License | |
7 | * as published by the Free Software Foundation, version 2. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | */ | |
14 | ||
15 | #include <linux/linkage.h> | |
16 | #include <linux/syscalls.h> | |
17 | #include <asm-generic/syscalls.h> | |
921ebd8f | 18 | #include <asm/vdso.h> |
e2c0cdfb PD |
19 | |
20 | #undef __SYSCALL | |
21 | #define __SYSCALL(nr, call) [nr] = (call), | |
22 | ||
23 | void *sys_call_table[__NR_syscalls] = { | |
24 | [0 ... __NR_syscalls - 1] = sys_ni_syscall, | |
25 | #include <asm/unistd.h> | |
921ebd8f | 26 | #include <asm/vdso-syscalls.h> |
e2c0cdfb | 27 | }; |