]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/x86/include/asm/proto.h
Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[mirror_ubuntu-focal-kernel.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 /* 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 #if defined(CONFIG_X86_64) && defined(CONFIG_XEN_PV)
28 void xen_entry_INT80_compat(void);
29 #endif
30 #endif
31
32 void x86_configure_nx(void);
33 void x86_report_nx(void);
34
35 extern int reboot_force;
36
37 long do_arch_prctl_common(struct task_struct *task, int option,
38 unsigned long cpuid_enabled);
39
40 #endif /* _ASM_X86_PROTO_H */