mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
KVM: arm64: vgic-v5: Drop pointless ARM64_HAS_GICV5_CPUIF check
vgic_v5_get_implemented_ppis() can only be called when we have a GICv5, by construction. Remove the pointless check against ARM64_HAS_GICV5_CPUIF. Link: https://lore.kernel.org/r/20260520091949.542365-5-maz@kernel.org Signed-off-by: Marc Zyngier <maz@kernel.org>
This commit is contained in:
parent
2295f5eca9
commit
e6fdea20cf
|
|
@ -18,9 +18,6 @@
|
|||
*/
|
||||
static void vgic_v5_get_implemented_ppis(void)
|
||||
{
|
||||
if (!cpus_have_final_cap(ARM64_HAS_GICV5_CPUIF))
|
||||
return;
|
||||
|
||||
/*
|
||||
* If we have KVM, we have EL2, which means that we have support for the
|
||||
* EL1 and EL2 Physical & Virtual timers.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user