diff options
author | Marc Zyngier <maz@kernel.org> | 2024-11-17 17:57:56 +0100 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-11-21 02:21:08 +0100 |
commit | e7619f2a2f8f9b10feb784ec6b8ea5320ad3b97e (patch) | |
tree | c93bb05833d299a0c10a338a6647ed34e2b3dce8 /include | |
parent | KVM: arm64: vgic: Make vgic_get_irq() more robust (diff) | |
download | linux-e7619f2a2f8f9b10feb784ec6b8ea5320ad3b97e.tar.xz linux-e7619f2a2f8f9b10feb784ec6b8ea5320ad3b97e.zip |
KVM: arm64: vgic: Kill VGIC_MAX_PRIVATE definition
VGIC_MAX_PRIVATE is a pretty useless definition, and is better
replaced with VGIC_NR_PRIVATE_IRQS.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241117165757.247686-4-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'include')
-rw-r--r-- | include/kvm/arm_vgic.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h index f5172549f9ba..3a8ccfda34d2 100644 --- a/include/kvm/arm_vgic.h +++ b/include/kvm/arm_vgic.h @@ -26,7 +26,6 @@ #define VGIC_NR_SGIS 16 #define VGIC_NR_PPIS 16 #define VGIC_NR_PRIVATE_IRQS (VGIC_NR_SGIS + VGIC_NR_PPIS) -#define VGIC_MAX_PRIVATE (VGIC_NR_PRIVATE_IRQS - 1) #define VGIC_MAX_SPI 1019 #define VGIC_MAX_RESERVED 1023 #define VGIC_MIN_LPI 8192 |