diff options
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | 2011-07-30 18:00:17 +0900 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-09-25 19:17:59 +0300 |
commit | 807941b121cf77e70eec8db308b8c1f496cc79e9 (patch) | |
tree | bd3ff6f27d93bd66fe3b95c99ed0ad2520cbea61 /fs/cramfs | |
parent | 743eeb0b01d2fbf4154bf87bff1ebb6fb18aeb7a (diff) |
KVM: x86 emulator: Use ctxt->_eip directly in do_insn_fetch_byte()
Instead of passing ctxt->_eip from insn_fetch() call sites, get it from
ctxt in do_insn_fetch_byte(). This is done by replacing the argument
_eip of insn_fetch() with _ctxt, which should be better than letting the
macro use ctxt silently in its body.
Though this changes the place where ctxt->_eip is incremented from
insn_fetch() to do_insn_fetch_byte(), this does not have any real
effect.
Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'fs/cramfs')
0 files changed, 0 insertions, 0 deletions