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)
commit9fef72ce10dc8263fec9350a8e2a1c505ebedaae
tree89371f2d32e783882bf2766d13e0dbb47c8e8f69
parentd1eef45d5906a0738684833cf1e0395b4d098340
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