Merge tag 'pm-4.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux/fpc-iii.git] / arch / x86 / include / asm / proto.h
blob8d3964fc5f915c37ec7bf74706446adc8ad2e93b
1 #ifndef _ASM_X86_PROTO_H
2 #define _ASM_X86_PROTO_H
4 #include <asm/ldt.h>
6 /* misc architecture specific prototypes */
8 void syscall_init(void);
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
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
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
29 void x86_configure_nx(void);
30 void x86_report_nx(void);
32 extern int reboot_force;
34 long do_arch_prctl_common(struct task_struct *task, int option,
35 unsigned long cpuid_enabled);
37 #endif /* _ASM_X86_PROTO_H */