0001
0002
0003
0004
0005
0006
0007 #include <linux/linkage.h>
0008 #include <linux/sys.h>
0009 #include <linux/cache.h>
0010 #include <asm/syscall.h>
0011
0012
0013
0014
0015
0016
0017
0018 #define sys_iopl sys_ni_syscall
0019 #define sys_ioperm sys_ni_syscall
0020
0021 #define sys_vm86old sys_ni_syscall
0022 #define sys_vm86 sys_ni_syscall
0023
0024 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
0025
0026 #define __SYSCALL(nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
0027 #include <asm/syscalls_32.h>
0028
0029 #undef __SYSCALL
0030 #define __SYSCALL(nr, sym) sym,
0031
0032 extern asmlinkage long sys_ni_syscall(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
0033
0034 const sys_call_ptr_t sys_call_table[] ____cacheline_aligned = {
0035 #include <asm/syscalls_32.h>
0036 };
0037
0038 int syscall_table_size = sizeof(sys_call_table);