summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/x86/include/asm/i387.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/i387.h b/arch/x86/include/asm/i387.h
index 1a8cca33b736..8002e9ce25fc 100644
--- a/arch/x86/include/asm/i387.h
+++ b/arch/x86/include/asm/i387.h
@@ -64,7 +64,7 @@ static inline bool use_xsave(void)
alternative_io("mov $0, %0",
"mov $1, %0",
X86_FEATURE_XSAVE,
- "=g"(has_xsave));
+ "=qm" (has_xsave));
return has_xsave;
}