mirror of https://gitee.com/openkylin/linux.git
13 lines
329 B
C
13 lines
329 B
C
|
#ifndef _ASM_X86_UMIP_H
|
||
|
#define _ASM_X86_UMIP_H
|
||
|
|
||
|
#include <linux/types.h>
|
||
|
#include <asm/ptrace.h>
|
||
|
|
||
|
#ifdef CONFIG_X86_INTEL_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_INTEL_UMIP */
|
||
|
#endif /* _ASM_X86_UMIP_H */
|