KVM: x86 emulator: Stop passing ctxt->ops as arg of decode helpers
commitef5d75cc9af2bca7c525158666b5f9696846ffb6
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Sat, 14 May 2011 15:57:43 +0000 (15 00:57 +0900)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:44:57 +0000 (12 11:44 +0300)
tree83f05d2aa4d056a35042516e68213ab51bd4f524
parent67cbc90db5c0f03aa5e54204c388403ec8c25862
KVM: x86 emulator: Stop passing ctxt->ops as arg of decode helpers

Dereference it in the actual users: only do_insn_fetch_byte().

This is consistent with the way __linearize() dereferences it.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c