xref: /linux/arch/x86/include/asm/umip.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 #ifndef _ASM_X86_UMIP_H
2 #define _ASM_X86_UMIP_H
3 
4 #include <linux/types.h>
5 #include <asm/ptrace.h>
6 
7 #ifdef CONFIG_X86_UMIP
8 bool fixup_umip_exception(struct pt_regs *regs);
9 #else
10 static inline bool fixup_umip_exception(struct pt_regs *regs) { return false; }
11 #endif  /* CONFIG_X86_UMIP */
12 #endif  /* _ASM_X86_UMIP_H */
13