]> 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)
commitffcb9574c1f5beb3a2d555185405504bf5dbd0cb
tree89371f2d32e783882bf2766d13e0dbb47c8e8f69
parent159670e7aeefe0570117065e3bc0607a8ba81f86
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