Ricardo Neri | 1e5db22 | 2017-11-05 18:27:52 -0800 | [diff] [blame] | 1 | #ifndef _ASM_X86_UMIP_H |
| 2 | #define _ASM_X86_UMIP_H |
| 3 | |
| 4 | #include <linux/types.h> |
| 5 | #include <asm/ptrace.h> |
| 6 | |
Babu Moger | b971880 | 2019-11-05 21:25:32 +0000 | [diff] [blame] | 7 | #ifdef CONFIG_X86_UMIP |
Ricardo Neri | 1e5db22 | 2017-11-05 18:27:52 -0800 | [diff] [blame] | 8 | bool fixup_umip_exception(struct pt_regs *regs); |
| 9 | #else |
| 10 | static inline bool fixup_umip_exception(struct pt_regs *regs) { return false; } |
Babu Moger | b971880 | 2019-11-05 21:25:32 +0000 | [diff] [blame] | 11 | #endif /* CONFIG_X86_UMIP */ |
Ricardo Neri | 1e5db22 | 2017-11-05 18:27:52 -0800 | [diff] [blame] | 12 | #endif /* _ASM_X86_UMIP_H */ |