diff options
author | Avi Kivity <avi@redhat.com> | 2012-04-22 12:12:50 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-04-24 14:16:17 (GMT) |
commit | 38e8a2ddc9ada5dd1f2def95bebb733bf619bbef (patch) | |
tree | 689e6596e48690f77ad0b8c6f30ff5c20aef8152 /arch/x86/kvm/emulate.c | |
parent | 413837714232b3a4c0705e915d8af75ad521d083 (diff) | |
download | linux-fsl-qoriq-38e8a2ddc9ada5dd1f2def95bebb733bf619bbef.tar.xz |
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>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
-rw-r--r-- | arch/x86/kvm/emulate.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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)) |