]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/qcom-pdc: Kill PDC_NO_PARENT_IRQ
authorMarc Zyngier <maz@kernel.org>
Thu, 24 Feb 2022 10:12:22 +0000 (10:12 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 1 Mar 2022 10:06:24 +0000 (10:06 +0000)
commitcd040790cdb67619e96ebd39ec0c3f19da100de6
treefb5f85c590497034ac2a648669188a26f5eae35a
parent6757ee160ac3fc336324c4ac5a8718b5090c9ffe
irqchip/qcom-pdc: Kill PDC_NO_PARENT_IRQ

PDC_NO_PARENT_IRQ is pretty pointless, as all it indicates is
that the PDC terminates the interrupt hierarchy. Which is
exactly the same as not having a mapping in the GIC space.
This is also bad practice to treat the absence of a hwirq
as a hwirq itself.

Just explicitly use the region mapping pointer, and drop
the definition.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Maulik Shah <quic_mkshah@quicinc.com>
Link: https://lore.kernel.org/r/20220224101226.88373-2-maz@kernel.org
drivers/irqchip/qcom-pdc.c