summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/umip.h
blob: db43f2a0d92c34710a123082d1f30571ae485831 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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 */