aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/x86_emulate.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/x86_emulate.c')
-rw-r--r--drivers/kvm/x86_emulate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c
index 82b4ea62c982..ef7518a2d7ac 100644
--- a/drivers/kvm/x86_emulate.c
+++ b/drivers/kvm/x86_emulate.c
@@ -819,7 +819,7 @@ done_prefixes:
819 case DstReg: 819 case DstReg:
820 dst.type = OP_REG; 820 dst.type = OP_REG;
821 if ((d & ByteOp) 821 if ((d & ByteOp)
822 && !(twobyte_table && (b == 0xb6 || b == 0xb7))) { 822 && !(twobyte && (b == 0xb6 || b == 0xb7))) {
823 dst.ptr = decode_register(modrm_reg, _regs, 823 dst.ptr = decode_register(modrm_reg, _regs,
824 (rex_prefix == 0)); 824 (rex_prefix == 0));
825 dst.val = *(u8 *) dst.ptr; 825 dst.val = *(u8 *) dst.ptr;