proto.h 765 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef _ASM_X8664_PROTO_H
  2. #define _ASM_X8664_PROTO_H 1
  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 reserve_bootmem_generic(unsigned long phys, unsigned len);
  12. extern void syscall32_cpu_init(void);
  13. extern void check_efer(void);
  14. #ifdef CONFIG_X86_BIOS_REBOOT
  15. extern int reboot_force;
  16. #else
  17. static const int reboot_force = 0;
  18. #endif
  19. long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
  20. #define round_up(x, y) (((x) + (y) - 1) & ~((y) - 1))
  21. #define round_down(x, y) ((x) & ~((y) - 1))
  22. #endif