]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1965aae3 PA |
2 | #ifndef _ASM_X86_PROTO_H |
3 | #define _ASM_X86_PROTO_H | |
1da177e4 LT |
4 | |
5 | #include <asm/ldt.h> | |
6 | ||
7 | /* misc architecture specific prototypes */ | |
8 | ||
5bd085b5 | 9 | void syscall_init(void); |
1da177e4 | 10 | |
f2b37575 | 11 | #ifdef CONFIG_X86_64 |
b2502b41 | 12 | void entry_SYSCALL_64(void); |
17a6e1b8 | 13 | long do_arch_prctl_64(struct task_struct *task, int option, unsigned long arg2); |
f2b37575 AL |
14 | #endif |
15 | ||
16 | #ifdef CONFIG_X86_32 | |
b2502b41 | 17 | void entry_INT80_32(void); |
4c8cd0c5 | 18 | void entry_SYSENTER_32(void); |
f2b37575 AL |
19 | void __begin_SYSENTER_singlestep_region(void); |
20 | void __end_SYSENTER_singlestep_region(void); | |
21 | #endif | |
22 | ||
23 | #ifdef CONFIG_IA32_EMULATION | |
4c8cd0c5 | 24 | void entry_SYSENTER_compat(void); |
f2b37575 AL |
25 | void __end_entry_SYSENTER_compat(void); |
26 | void entry_SYSCALL_compat(void); | |
27 | void entry_INT80_compat(void); | |
5878d5d6 JG |
28 | #if defined(CONFIG_X86_64) && defined(CONFIG_XEN_PV) |
29 | void xen_entry_INT80_compat(void); | |
30 | #endif | |
f2b37575 | 31 | #endif |
1da177e4 | 32 | |
5bd085b5 PA |
33 | void x86_configure_nx(void); |
34 | void x86_report_nx(void); | |
1da177e4 | 35 | |
1da177e4 LT |
36 | extern int reboot_force; |
37 | ||
b0b9b014 KH |
38 | long do_arch_prctl_common(struct task_struct *task, int option, |
39 | unsigned long cpuid_enabled); | |
40 | ||
1965aae3 | 41 | #endif /* _ASM_X86_PROTO_H */ |