xref: /openbmc/linux/arch/x86/include/asm/umip.h (revision e2ad626f)
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