blob: aeed98c3c9e1d643c66bdc11e2eae649db4c85b1 [file] [log] [blame]
Ricardo Neri1e5db222017-11-05 18:27:52 -08001#ifndef _ASM_X86_UMIP_H
2#define _ASM_X86_UMIP_H
3
4#include <linux/types.h>
5#include <asm/ptrace.h>
6
Babu Mogerb9718802019-11-05 21:25:32 +00007#ifdef CONFIG_X86_UMIP
Ricardo Neri1e5db222017-11-05 18:27:52 -08008bool fixup_umip_exception(struct pt_regs *regs);
9#else
10static inline bool fixup_umip_exception(struct pt_regs *regs) { return false; }
Babu Mogerb9718802019-11-05 21:25:32 +000011#endif /* CONFIG_X86_UMIP */
Ricardo Neri1e5db222017-11-05 18:27:52 -080012#endif /* _ASM_X86_UMIP_H */