diff options
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | 2011-05-14 17:54:58 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-07-12 10:44:56 +0200 |
commit | 67cbc90db5c0f03aa5e54204c388403ec8c25862 (patch) | |
tree | 105b1c9dfac9b34f5232852784cdc2f94113a238 /drivers/video | |
parent | KVM: Document KVM_GET_LAPIC, KVM_SET_LAPIC ioctl (diff) | |
download | linux-67cbc90db5c0f03aa5e54204c388403ec8c25862.tar.xz linux-67cbc90db5c0f03aa5e54204c388403ec8c25862.zip |
KVM: x86 emulator: Place insn_fetch helpers together
The two macros need special care to use:
Assume rc, ctxt, ops and done exist outside of them.
Can goto outside.
Considering the fact that these are used only in decode functions,
moving these right after do_insn_fetch() seems to be a right thing
to improve the readability.
We also rename do_fetch_insn_byte() to do_insn_fetch_byte() to be
consistent.
Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions