blob: de274071455d0096ecd7e85589d6ce2fd2689c64 [file] [log] [blame]
Paolo 'Blaisorblade' Giarrusso5e7b83f2005-05-01 08:58:55 -07001#include <linux/linkage.h>
2/* Steal i386 syscall table for our purposes, but with some slight changes.*/
3
4#define sys_iopl sys_ni_syscall
5#define sys_ioperm sys_ni_syscall
6
7#define sys_vm86old sys_ni_syscall
8#define sys_vm86 sys_ni_syscall
Paolo 'Blaisorblade' Giarrusso5e7b83f2005-05-01 08:58:55 -07009
Christoph Hellwiga4679372010-03-10 15:21:15 -080010#define old_mmap sys_old_mmap
Paolo 'Blaisorblade' Giarrusso5e7b83f2005-05-01 08:58:55 -070011
Miklos Szeredi7130f2f2009-04-02 16:56:51 -070012#define ptregs_fork sys_fork
13#define ptregs_execve sys_execve
14#define ptregs_iopl sys_iopl
15#define ptregs_vm86old sys_vm86old
16#define ptregs_sigreturn sys_sigreturn
17#define ptregs_clone sys_clone
18#define ptregs_vm86 sys_vm86
19#define ptregs_rt_sigreturn sys_rt_sigreturn
20#define ptregs_sigaltstack sys_sigaltstack
21#define ptregs_vfork sys_vfork
22
Jeff Dikef87ea912008-02-04 22:31:29 -080023.section .rodata,"a"
24
Thomas Gleixner9a163ed2007-10-11 11:17:01 +020025#include "../../x86/kernel/syscall_table_32.S"
Jeff Dikef87ea912008-02-04 22:31:29 -080026
27ENTRY(syscall_table_size)
28.long .-sys_call_table