proto.h 632 B

12345678910111213141516171819202122232425262728
  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. extern int reboot_force;
  14. long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
  15. #define round_up(x, y) (((x) + (y) - 1) & ~((y) - 1))
  16. #define round_down(x, y) ((x) & ~((y) - 1))
  17. #endif /* _ASM_X86_PROTO_H */