]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: emulate: clean up initializations in init_decode_cache
authorBandan Das <bsd@redhat.com>
Wed, 16 Apr 2014 16:46:12 +0000 (12:46 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Jul 2014 07:14:00 +0000 (09:14 +0200)
commit30fe4c5b987e7c44e96b1071ae3f99d3d5ee0be4
tree0ac6d21a724a39f8b87767011b25466336096fcf
parentb1afc64efeab5e9a3e3c038391c9e88c107cdd45
KVM: emulate: clean up initializations in init_decode_cache

A lot of initializations are unnecessary as they get set to
appropriate values before actually being used. Optimize
placement of fields in x86_emulate_ctxt

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c