]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: merge the two emulate_1op_rax_rdx implementations
authorAvi Kivity <avi@redhat.com>
Wed, 7 Sep 2011 13:41:39 +0000 (16:41 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:52:36 +0000 (19:52 +0300)
commit93083eb522b25c401c61774ddf8d63acc416d7ea
tree89371f2d32e783882bf2766d13e0dbb47c8e8f69
parentb4e02993df054f51773317e07d22fcf81c93d16a
KVM: x86 emulator: merge the two emulate_1op_rax_rdx implementations

We have two emulate-with-extended-accumulator implementations: once
which expect traps (_ex) and one which doesn't (plain).  Drop the
plain implementation and always use the one which expects traps;
it will simply return 0 in the _ex argument and we can happily ignore
it.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c