proto.h 710 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef ASM_X86__PROTO_H
  2. #define ASM_X86__PROTO_H
  3. #include <asm/ldt.h>
  4. /* misc architecture specific prototypes */
  5. extern void early_idt_handler(void);
  6. extern void system_call(void);
  7. extern void syscall_init(void);
  8. extern void ia32_syscall(void);
  9. extern void ia32_cstar_target(void);
  10. extern void ia32_sysenter_target(void);
  11. extern void syscall32_cpu_init(void);
  12. extern void check_efer(void);
  13. #ifdef CONFIG_X86_BIOS_REBOOT
  14. extern int reboot_force;
  15. #else
  16. static const int reboot_force = 0;
  17. #endif
  18. long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
  19. #define round_up(x, y) (((x) + (y) - 1) & ~((y) - 1))
  20. #define round_down(x, y) ((x) & ~((y) - 1))
  21. #endif /* ASM_X86__PROTO_H */