author: Marc Zyngier <marc.zyngier@arm.com> 2016-02-17 10:25:05 +0000
committer: Marc Zyngier <marc.zyngier@arm.com> 2016-03-09 04:24:04 +0000
commit: 1b8e83c04ee2c05c0cd0d304c4b389adf24ebe7f
parent: 667a87a928c9e1939b1a518be0d62b24378c1fe8
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 6 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h
index f473fd65fab5..281caf847fad 100644
--- a/include/kvm/arm_vgic.h
+++ b/include/kvm/arm_vgic.h
@@ -279,12 +279,6 @@ struct vgic_v2_cpu_if {
u32 vgic_lr[VGIC_V2_MAX_LRS];
};
-/*
- * LRs are stored in reverse order in memory. make sure we index them
- * correctly.
- */
-#define VGIC_V3_LR_INDEX(lr) (VGIC_V3_MAX_LRS - 1 - lr)
-
struct vgic_v3_cpu_if {
#ifdef CONFIG_KVM_ARM_VGIC_V3
u32 vgic_hcr;