From: Paolo Bonzini Date: Wed, 19 Nov 2014 17:25:08 +0000 (+0100) Subject: KVM: emulator: remove code duplication in register_address{,_increment} X-Git-Tag: omap-for-v3.19/fixes-rc1~43^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01485a2230540c0dacd146e9927ea3d87dcb0fd8;p=pandora-kernel.git 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 --- Reading git-diff-tree failed