KVM: x86 emulator: simplify emulate_1op()
authorAvi Kivity <avi@redhat.com>
Wed, 7 Sep 2011 13:41:38 +0000 (16:41 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:52:35 +0000 (19:52 +0300)
commitd1eef45d5906a0738684833cf1e0395b4d098340
treedccd1c94e7007b87b1d42b94a57f4efc659e8723
parent29053a60d791a492b4609d87397b70a7a3254eb2
KVM: x86 emulator: simplify emulate_1op()

emulate_1op() 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