]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: remove stale comment from struct x86_emulate_ctxt
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 3 Mar 2020 14:33:16 +0000 (15:33 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Mar 2020 16:38:22 +0000 (17:38 +0100)
commit30efd6fd815bb44f2d1d4e9108518e26f9a2dc46
treeaf907f19a6852c4fd9ae9d09b7d4a9c102a715bc
parent7e8c34acb6efe091f43380583e91993cd1658a35
KVM: x86: remove stale comment from struct x86_emulate_ctxt

Commit 30fe4c5b987e ("KVM: emulate: clean up initializations in
init_decode_cache") did some field shuffling and instead of
[opcode_len, _regs) started clearing [has_seg_override, modrm).
The comment about clearing fields altogether is not true anymore.

Fixes: 30fe4c5b987e ("KVM: emulate: clean up initializations in init_decode_cache")
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_emulate.h