GNU Linux-libre 4.9.290-gnu1
[releases.git] / arch / x86 / include / asm / proto.h
1 #ifndef _ASM_X86_PROTO_H
2 #define _ASM_X86_PROTO_H
3
4 #include <asm/ldt.h>
5
6 struct task_struct;
7
8 /* misc architecture specific prototypes */
9
10 void syscall_init(void);
11
12 #ifdef CONFIG_X86_64
13 void entry_SYSCALL_64(void);
14 #endif
15
16 #ifdef CONFIG_X86_32
17 void entry_INT80_32(void);
18 void entry_SYSENTER_32(void);
19 void __begin_SYSENTER_singlestep_region(void);
20 void __end_SYSENTER_singlestep_region(void);
21 #endif
22
23 #ifdef CONFIG_IA32_EMULATION
24 void entry_SYSENTER_compat(void);
25 void __end_entry_SYSENTER_compat(void);
26 void entry_SYSCALL_compat(void);
27 void entry_INT80_compat(void);
28 #endif
29
30 void x86_configure_nx(void);
31 void x86_report_nx(void);
32
33 extern int reboot_force;
34
35 long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
36
37 #endif /* _ASM_X86_PROTO_H */