1
2
3
4
5
6
7
8 #ifndef _ASM_X86_SYSCALLS_H
9 #define _ASM_X86_SYSCALLS_H
10
11 #include <linux/compiler.h>
12 #include <linux/linkage.h>
13 #include <linux/signal.h>
14 #include <linux/types.h>
15
16
17
18 long ksys_ioperm(unsigned long from, unsigned long num, int turn_on);
19
20 #ifdef CONFIG_X86_32
21
22
23
24
25 asmlinkage long sys_ioperm(unsigned long, unsigned long, int);
26 asmlinkage long sys_iopl(unsigned int);
27
28
29 asmlinkage long sys_modify_ldt(int, void __user *, unsigned long);
30
31
32 asmlinkage long sys_rt_sigreturn(void);
33
34
35 asmlinkage long sys_set_thread_area(struct user_desc __user *);
36 asmlinkage long sys_get_thread_area(struct user_desc __user *);
37
38
39
40
41 asmlinkage long sys_sigreturn(void);
42
43
44 struct vm86_struct;
45 asmlinkage long sys_vm86old(struct vm86_struct __user *);
46 asmlinkage long sys_vm86(unsigned long, unsigned long);
47
48 #endif
49 #endif