xref: /openbmc/linux/arch/x86/include/asm/proto.h (revision 4a5f8ae5)
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 long do_arch_prctl_64(struct task_struct *task, int option, unsigned long arg2);
13 #endif
14 
15 #ifdef CONFIG_X86_32
16 void entry_INT80_32(void);
17 void entry_SYSENTER_32(void);
18 void __begin_SYSENTER_singlestep_region(void);
19 void __end_SYSENTER_singlestep_region(void);
20 #endif
21 
22 #ifdef CONFIG_IA32_EMULATION
23 void entry_SYSENTER_compat(void);
24 void __end_entry_SYSENTER_compat(void);
25 void entry_SYSCALL_compat(void);
26 void entry_INT80_compat(void);
27 #endif
28 
29 void x86_configure_nx(void);
30 void x86_report_nx(void);
31 
32 extern int reboot_force;
33 
34 long do_arch_prctl_common(struct task_struct *task, int option,
35 			  unsigned long cpuid_enabled);
36 
37 #endif /* _ASM_X86_PROTO_H */
38