]>
Commit | Line | Data |
---|---|---|
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 | 8 | void syscall_init(void); |
1da177e4 | 9 | |
f2b37575 | 10 | #ifdef CONFIG_X86_64 |
b2502b41 | 11 | void entry_SYSCALL_64(void); |
f2b37575 AL |
12 | #endif |
13 | ||
14 | #ifdef CONFIG_X86_32 | |
b2502b41 | 15 | void entry_INT80_32(void); |
4c8cd0c5 | 16 | void entry_SYSENTER_32(void); |
f2b37575 AL |
17 | void __begin_SYSENTER_singlestep_region(void); |
18 | void __end_SYSENTER_singlestep_region(void); | |
19 | #endif | |
20 | ||
21 | #ifdef CONFIG_IA32_EMULATION | |
4c8cd0c5 | 22 | void entry_SYSENTER_compat(void); |
f2b37575 AL |
23 | void __end_entry_SYSENTER_compat(void); |
24 | void entry_SYSCALL_compat(void); | |
25 | void entry_INT80_compat(void); | |
26 | #endif | |
1da177e4 | 27 | |
5bd085b5 PA |
28 | void x86_configure_nx(void); |
29 | void x86_report_nx(void); | |
1da177e4 | 30 | |
1da177e4 LT |
31 | extern int reboot_force; |
32 | ||
1da177e4 LT |
33 | long do_arch_prctl(struct task_struct *task, int code, unsigned long addr); |
34 | ||
1965aae3 | 35 | #endif /* _ASM_X86_PROTO_H */ |