Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / arch / x86 / include / asm / umip.h
CommitLineData
1e5db223
RN
1#ifndef _ASM_X86_UMIP_H
2#define _ASM_X86_UMIP_H
3
4#include <linux/types.h>
5#include <asm/ptrace.h>
6
b971880f 7#ifdef CONFIG_X86_UMIP
1e5db223
RN
8bool fixup_umip_exception(struct pt_regs *regs);
9#else
10static inline bool fixup_umip_exception(struct pt_regs *regs) { return false; }
b971880f 11#endif /* CONFIG_X86_UMIP */
1e5db223 12#endif /* _ASM_X86_UMIP_H */