]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: Stop passing ctxt->ops as arg of decode helpers
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Sat, 14 May 2011 15:57:43 +0000 (00:57 +0900)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:44:57 +0000 (11:44 +0300)
commitfb6938d1200aa54af019ba41d69cc0f94a7cc99d
tree83f05d2aa4d056a35042516e68213ab51bd4f524
parent664e7ecf962c6b70ed79ebd1a7beb477350d7ffb
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