mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 02:55:11 +07:00
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 */
|