proto.h 687 B

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