18c2ecf20Sopenharmony_ci#ifndef _ASM_X86_UMIP_H
28c2ecf20Sopenharmony_ci#define _ASM_X86_UMIP_H
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci#include <linux/types.h>
58c2ecf20Sopenharmony_ci#include <asm/ptrace.h>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#ifdef CONFIG_X86_UMIP
88c2ecf20Sopenharmony_cibool fixup_umip_exception(struct pt_regs *regs);
98c2ecf20Sopenharmony_ci#else
108c2ecf20Sopenharmony_cistatic inline bool fixup_umip_exception(struct pt_regs *regs) { return false; }
118c2ecf20Sopenharmony_ci#endif  /* CONFIG_X86_UMIP */
128c2ecf20Sopenharmony_ci#endif  /* _ASM_X86_UMIP_H */
13