]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: simplify emulate_1op_rax_rdx()
authorAvi Kivity <avi@redhat.com>
Wed, 7 Sep 2011 13:41:40 +0000 (16:41 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:52:37 +0000 (19:52 +0300)
commitbbd49326214b69ea0ab780fdfafbb92272495317
treef6b16a317c45843153f17dd8a2b9298990ece537
parentffcb9574c1f5beb3a2d555185405504bf5dbd0cb
KVM: x86 emulator: simplify emulate_1op_rax_rdx()

emulate_1op_rax_rdx() is always called with the same parameters.  Simplify
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