KVM: x86 emulator: fix asm constraint in flush_pending_x87_faults
'bool' wants 8-bit registers.
Reported-by: Takuya Yoshikawa <takuya.yoshikawa@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index d5729a9..0d151e2 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -4123,7 +4123,7 @@
"jmp 2b \n\t"
".popsection \n\t"
_ASM_EXTABLE(1b, 3b)
- : [fault]"+rm"(fault));
+ : [fault]"+qm"(fault));
ctxt->ops->put_fpu(ctxt);
if (unlikely(fault))