KVM: x86 emulator: fix asm constraint in flush_pending_x87_faults
PATCH 1/1 KVM: x86 emulator: fix asm constraint in flush_pending_x87_faults
'bool' wants 8-bit registers.
Reported-by Takuya Yoshikawa <[email protected]>
Signed-off-by Avi Kivity <[email protected]>
--- arch/x86/kvm/emulate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/emulate.c +1 -1
@@ -4123,7 +4123,7 @@ static int flush_pending_x87_faults(struct x86_emulate_ctxt *ctxt)"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))
Signature · 1 line
1.7.10