umip.h 317 B

123456789101112
  1. #ifndef _ASM_X86_UMIP_H
  2. #define _ASM_X86_UMIP_H
  3. #include <linux/types.h>
  4. #include <asm/ptrace.h>
  5. #ifdef CONFIG_X86_UMIP
  6. bool fixup_umip_exception(struct pt_regs *regs);
  7. #else
  8. static inline bool fixup_umip_exception(struct pt_regs *regs) { return false; }
  9. #endif /* CONFIG_X86_UMIP */
  10. #endif /* _ASM_X86_UMIP_H */