commit | 3c13b8f435acb452eac62d966148a8b6fa92151f | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Tue Dec 01 13:48:56 2015 +0000 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Mon Dec 14 11:30:38 2015 +0000 |
tree | 2632e4a1f49c247191ef4a47f76ffafddf265a20 | |
parent | 06282fd2c2bf61619649a2b13e4a08556598a64c [diff] |
KVM: arm/arm64: vgic-v3: Make the LR indexing macro public We store GICv3 LRs in reverse order so that the CPU can save/restore them in rever order as well (don't ask why, the design is crazy), and yet generate memory traffic that doesn't completely suck. We need this macro to be available to the C version of save/restore. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>