linux/linux-5.18.11/arch/x86/include/asm/umip.h

13 lines
317 B
C
Raw Normal View History

2024-03-22 18:12:32 +00:00
#ifndef _ASM_X86_UMIP_H
#define _ASM_X86_UMIP_H
#include <linux/types.h>
#include <asm/ptrace.h>
#ifdef CONFIG_X86_UMIP
bool fixup_umip_exception(struct pt_regs *regs);
#else
static inline bool fixup_umip_exception(struct pt_regs *regs) { return false; }
#endif /* CONFIG_X86_UMIP */
#endif /* _ASM_X86_UMIP_H */