KVM: x86 emulator: simplify emulate_2op_SrcV()
authorAvi Kivity <avi@redhat.com>
Wed, 7 Sep 2011 13:41:35 +0000 (16:41 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:52:32 +0000 (19:52 +0300)
commita31b9ceadb61487042dec92f662736ccddadc75f
treeff5d289f81bd302b085d1bef991f5e32924433eb
parent821246a5a548858c78a5e8860862e91c9e035d6b
KVM: x86 emulator: simplify emulate_2op_SrcV()

emulate_2op_SrcV(), and its siblings, emulate_2op_SrcV_nobyte()
and emulate_2op_SrcB(), all use the same calling conventions
and all get passed exactly the same parameters.  Simplify them
by passing just the emulation context.

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