summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/82xx
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-05-04 19:42:18 +0300
committerMarc Zyngier <maz@kernel.org>2021-08-12 13:39:41 +0300
commit2c8996583013a2e2fa09a2c4ddebe6692c45a9c2 (patch)
treeb706670e543e4d07b6a8117892177435a40f5413 /arch/powerpc/platforms/82xx
parent153517d4e7d1c3f5d6174db6177ff3f3f56a9b5c (diff)
downloadlinux-2c8996583013a2e2fa09a2c4ddebe6692c45a9c2.tar.xz
powerpc: Bulk conversion to generic_handle_domain_irq()
Wherever possible, replace constructs that match either generic_handle_irq(irq_find_mapping()) or generic_handle_irq(irq_linear_revmap()) to a single call to generic_handle_domain_irq(). Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/powerpc/platforms/82xx')
-rw-r--r--arch/powerpc/platforms/82xx/pq2ads-pci-pic.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c b/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
index f82f75a6085c..285bfe19b798 100644
--- a/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
+++ b/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
@@ -91,10 +91,8 @@ static void pq2ads_pci_irq_demux(struct irq_desc *desc)
break;
for (bit = 0; pend != 0; ++bit, pend <<= 1) {
- if (pend & 0x80000000) {
- int virq = irq_linear_revmap(priv->host, bit);
- generic_handle_irq(virq);
- }
+ if (pend & 0x80000000)
+ generic_handle_domain_irq(priv->host, bit);
}
}
}