]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/x86/include/asm/proto.h
x86/arch_prctl/64: Rename do_arch_prctl() to do_arch_prctl_64()
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / include / asm / proto.h
CommitLineData
1965aae3
PA
1#ifndef _ASM_X86_PROTO_H
2#define _ASM_X86_PROTO_H
1da177e4
LT
3
4#include <asm/ldt.h>
5
6/* misc architecture specific prototypes */
7
5bd085b5 8void syscall_init(void);
1da177e4 9
f2b37575 10#ifdef CONFIG_X86_64
b2502b41 11void entry_SYSCALL_64(void);
17a6e1b8 12long do_arch_prctl_64(struct task_struct *task, int option, unsigned long arg2);
f2b37575
AL
13#endif
14
15#ifdef CONFIG_X86_32
b2502b41 16void entry_INT80_32(void);
4c8cd0c5 17void entry_SYSENTER_32(void);
f2b37575
AL
18void __begin_SYSENTER_singlestep_region(void);
19void __end_SYSENTER_singlestep_region(void);
20#endif
21
22#ifdef CONFIG_IA32_EMULATION
4c8cd0c5 23void entry_SYSENTER_compat(void);
f2b37575
AL
24void __end_entry_SYSENTER_compat(void);
25void entry_SYSCALL_compat(void);
26void entry_INT80_compat(void);
27#endif
1da177e4 28
5bd085b5
PA
29void x86_configure_nx(void);
30void x86_report_nx(void);
1da177e4 31
1da177e4
LT
32extern int reboot_force;
33
1965aae3 34#endif /* _ASM_X86_PROTO_H */