blob: a4a77286cb1ddf68b466e934e9f69cb1785f3062 [file] [log] [blame]
H. Peter Anvin1965aae2008-10-22 22:26:29 -07001#ifndef _ASM_X86_PROTO_H
2#define _ASM_X86_PROTO_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
4#include <asm/ldt.h>
5
6/* misc architecture specific prototypes */
7
H. Peter Anvin5bd085b2009-11-16 13:55:31 -08008void syscall_init(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
Ingo Molnarb2502b42015-06-08 08:42:03 +020010void entry_SYSCALL_64(void);
Ingo Molnar2cd23552015-06-08 08:28:07 +020011void entry_SYSCALL_compat(void);
Ingo Molnarb2502b42015-06-08 08:42:03 +020012void entry_INT80_32(void);
13void entry_INT80_compat(void);
Ingo Molnar4c8cd0c2015-06-08 08:33:56 +020014void entry_SYSENTER_32(void);
15void entry_SYSENTER_compat(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -070016
H. Peter Anvin5bd085b2009-11-16 13:55:31 -080017void x86_configure_nx(void);
18void x86_report_nx(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
Linus Torvalds1da177e2005-04-16 15:20:36 -070020extern int reboot_force;
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Linus Torvalds1da177e2005-04-16 15:20:36 -070022long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
23
H. Peter Anvin1965aae2008-10-22 22:26:29 -070024#endif /* _ASM_X86_PROTO_H */