ARM: KVM: vgic: simplify vgic_get_target_reg
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 29 Aug 2013 10:08:22 +0000 (11:08 +0100)
committerGleb Natapov <gleb@redhat.com>
Fri, 30 Aug 2013 13:03:07 +0000 (16:03 +0300)
vgic_get_target_reg is quite complicated, for no good reason.
Actually, it is fairly easy to write it in a much more efficient
way by using the target CPU array instead of the bitmap.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>

No differences found