blob: aeed98c3c9e1d643c66bdc11e2eae649db4c85b1 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001#ifndef _ASM_X86_UMIP_H
2#define _ASM_X86_UMIP_H
3
4#include <linux/types.h>
5#include <asm/ptrace.h>
6
Olivier Deprez157378f2022-04-04 15:47:50 +02007#ifdef CONFIG_X86_UMIP
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00008bool fixup_umip_exception(struct pt_regs *regs);
9#else
10static inline bool fixup_umip_exception(struct pt_regs *regs) { return false; }
Olivier Deprez157378f2022-04-04 15:47:50 +020011#endif /* CONFIG_X86_UMIP */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000012#endif /* _ASM_X86_UMIP_H */