diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-19 18:25:08 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-19 18:27:27 +0100 |
commit | 01485a2230540c0dacd146e9927ea3d87dcb0fd8 (patch) | |
tree | 015b49a4a7bed3fbb13eb8367f0c5adb8658f61d /virt/kvm/ioapic.c | |
parent | 31ff64881bed80456c5d37df905bdb66cdf29abe (diff) | |
download | linux-01485a2230540c0dacd146e9927ea3d87dcb0fd8.tar.gz linux-01485a2230540c0dacd146e9927ea3d87dcb0fd8.tar.xz |
KVM: emulator: remove code duplication in register_address{,_increment}
register_address has been a duplicate of address_mask ever since the
ancestor of __linearize was born in 90de84f50b42 (KVM: x86 emulator:
preserve an operand's segment identity, 2010-11-17).
However, we can put it to a better use by including the call to reg_read
in register_address. Similarly, the call to reg_rmw can be moved to
register_address_increment.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/ioapic.c')
0 files changed, 0 insertions, 0 deletions