projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4138377
)
KVM: x86 emulator: fix asm constraint in flush_pending_x87_faults
author
Avi Kivity
<avi@redhat.com>
Sun, 22 Apr 2012 12:12:50 +0000
(15:12 +0300)
committer
Avi Kivity
<avi@redhat.com>
Tue, 24 Apr 2012 14:16:17 +0000
(17:16 +0300)
'bool' wants 8-bit registers.
Reported-by: Takuya Yoshikawa <takuya.yoshikawa@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/emulate.c
b/arch/x86/kvm/emulate.c
index d5729a91d08db7769f4bcb77a0030d663f6e7325..0d151e232480296fe31846d024827238f6d380f9 100644
(file)
--- 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]"+
r
m"(fault));
+ : [fault]"+
q
m"(fault));
ctxt->ops->put_fpu(ctxt);
if (unlikely(fault))