diff options
author | Avi Kivity <avi@redhat.com> | 2012-04-22 14:12:50 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-04-24 16:16:17 +0200 |
commit | 38e8a2ddc9ada5dd1f2def95bebb733bf619bbef (patch) | |
tree | 689e6596e48690f77ad0b8c6f30ff5c20aef8152 /arch/x86 | |
parent | KVM: Introduce bitmask for apic attention reasons (diff) | |
download | linux-38e8a2ddc9ada5dd1f2def95bebb733bf619bbef.tar.xz linux-38e8a2ddc9ada5dd1f2def95bebb733bf619bbef.zip |
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')
-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 d5729a91d08d..0d151e232480 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)) |