summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/umip.h
blob: aeed98c3c9e1d643c66bdc11e2eae649db4c85b1 (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_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 */