Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [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 | |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 7 | #ifdef CONFIG_X86_UMIP |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [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; } |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 11 | #endif /* CONFIG_X86_UMIP */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 12 | #endif /* _ASM_X86_UMIP_H */ |