Commit 80275d15 authored by Marc Zyngier's avatar Marc Zyngier Committed by Amit Pundir
Browse files

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: default avatarMarc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit 3c13b8f4)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
parent 32a6fb48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment