]> 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)
commit7b1f68f4c65d1930e717c1e4294988adef6583f7
treef6b16a317c45843153f17dd8a2b9298990ece537
parent93083eb522b25c401c61774ddf8d63acc416d7ea
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