commit | d06a5440a02cf8ff67b1cd4ee75a30b1b1c66cff | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Thu Jan 21 17:34:22 2016 +0000 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Mon Feb 29 18:34:22 2016 +0000 |
tree | af433aa542ade72a49d2e3e1a3e8977f4a12b2a5 | |
parent | f1d67d4ac79aef6de709d7a21b35851685a1d3ee [diff] |
ARM: KVM: Switch the CP reg search to be a binary search Doing a linear search is a bit silly when we can do a binary search. Not that we trap that so many things that it has become a burden yet, but it makes sense to align it with the arm64 code. Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>