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