aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/Kconfig
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-04-04 13:06:39 +0100
committerMarc Zyngier <maz@kernel.org>2021-06-10 13:09:17 +0100
commite37af8011a9631996e6cd32dd81a152708eee7d4 (patch)
tree8f78241b8861725a237bd58f8c06e96faceb76a0 /kernel/irq/Kconfig
parentirqdomain: Reimplement irq_linear_revmap() with irq_find_mapping() (diff)
downloadlinux-dev-e37af8011a9631996e6cd32dd81a152708eee7d4.tar.xz
linux-dev-e37af8011a9631996e6cd32dd81a152708eee7d4.zip
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