proto.h 848 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef _ASM_X86_PROTO_H
  2. #define _ASM_X86_PROTO_H
  3. #include <asm/ldt.h>
  4. /* misc architecture specific prototypes */
  5. void syscall_init(void);
  6. #ifdef CONFIG_X86_64
  7. void entry_SYSCALL_64(void);
  8. long do_arch_prctl_64(struct task_struct *task, int option, unsigned long arg2);
  9. #endif
  10. #ifdef CONFIG_X86_32
  11. void entry_INT80_32(void);
  12. void entry_SYSENTER_32(void);
  13. void __begin_SYSENTER_singlestep_region(void);
  14. void __end_SYSENTER_singlestep_region(void);
  15. #endif
  16. #ifdef CONFIG_IA32_EMULATION
  17. void entry_SYSENTER_compat(void);
  18. void __end_entry_SYSENTER_compat(void);
  19. void entry_SYSCALL_compat(void);
  20. void entry_INT80_compat(void);
  21. #endif
  22. void x86_configure_nx(void);
  23. void x86_report_nx(void);
  24. extern int reboot_force;
  25. long do_arch_prctl_common(struct task_struct *task, int option,
  26. unsigned long cpuid_enabled);
  27. #endif /* _ASM_X86_PROTO_H */