aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/fpu/internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/fpu/internal.h b/arch/x86/include/asm/fpu/internal.h
index 69dcdf195b61..fa2c93cb42a2 100644
--- a/arch/x86/include/asm/fpu/internal.h
+++ b/arch/x86/include/asm/fpu/internal.h
@@ -106,6 +106,9 @@ extern void fpstate_sanitize_xstate(struct fpu *fpu);
106#define user_insn(insn, output, input...) \ 106#define user_insn(insn, output, input...) \
107({ \ 107({ \
108 int err; \ 108 int err; \
109 \
110 might_fault(); \
111 \
109 asm volatile(ASM_STAC "\n" \ 112 asm volatile(ASM_STAC "\n" \
110 "1:" #insn "\n\t" \ 113 "1:" #insn "\n\t" \
111 "2: " ASM_CLAC "\n" \ 114 "2: " ASM_CLAC "\n" \