/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_X86_PROTO_H #define _ASM_X86_PROTO_H #include <asm/ldt.h> /* misc architecture specific prototypes */ void syscall_init(void); #ifdef [31mCONFIG_X86_64[0m void entry_SYSCALL_64(void); long do_arch_prctl_64(struct task_struct *task, int option, unsigned long arg2); #endif #ifdef [31mCONFIG_X86_32[0m void entry_INT80_32(void); void entry_SYSENTER_32(void); void __begin_SYSENTER_singlestep_region(void); void __end_SYSENTER_singlestep_region(void); #endif #ifdef [31mCONFIG_IA32_EMULATION[0m void entry_SYSENTER_compat(void); void __end_entry_SYSENTER_compat(void); void entry_SYSCALL_compat(void); void entry_INT80_compat(void); #if defined([31mCONFIG_X86_64[0m) && defined([31mCONFIG_XEN_PV[0m) void xen_entry_INT80_compat(void); #endif #endif void x86_configure_nx(void); void x86_report_nx(void); extern int reboot_force; long do_arch_prctl_common(struct task_struct *task, int option, unsigned long cpuid_enabled); #endif /* _ASM_X86_PROTO_H */ |