summaryrefslogtreecommitdiff
path: root/kernel/irq/Kconfig
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-04-04 15:06:39 +0300
committerMarc Zyngier <maz@kernel.org>2021-06-10 15:09:17 +0300
commite37af8011a9631996e6cd32dd81a152708eee7d4 (patch)
tree8f78241b8861725a237bd58f8c06e96faceb76a0 /kernel/irq/Kconfig
parent1da027362a7db422243601e895e6f8288389f435 (diff)
downloadlinux-e37af8011a9631996e6cd32dd81a152708eee7d4.tar.xz
powerpc: Move the use of irq_domain_add_nomap() behind a config option
Only a handful of old PPC systems are still using the old 'nomap' variant of the irqdomain library. Move the associated definitions behind a configuration option, which will allow us to make some more radical changes. Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'kernel/irq/Kconfig')
-rw-r--r--kernel/irq/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/irq/Kconfig b/kernel/irq/Kconfig
index d79ef2493a28..fbc54c2a7f23 100644
--- a/kernel/irq/Kconfig
+++ b/kernel/irq/Kconfig
@@ -70,6 +70,11 @@ config IRQ_DOMAIN_HIERARCHY
bool
select IRQ_DOMAIN
+# Support for obsolete non-mapping irq domains
+config IRQ_DOMAIN_NOMAP
+ bool
+ select IRQ_DOMAIN
+
# Support for hierarchical fasteoi+edge and fasteoi+level handlers
config IRQ_FASTEOI_HIERARCHY_HANDLERS
bool