All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] irqchip/gic: Add dependency for ARM_GIC_MAX_NR
@ 2019-06-14 12:57 Jiangfeng Xiao
  0 siblings, 0 replies; only message in thread
From: Jiangfeng Xiao @ 2019-06-14 12:57 UTC (permalink / raw)
  To: tglx, jason, marc.zyngier, linus.walleij, xiaojiangfeng
  Cc: linux-kernel, nixiaoming, leeyou.li

CONFIG_ARM_GIC_MAX_NR is enabled by default.
It is redundant in x86 and IA-64 where is
without GIC.

Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@huawei.com>
---
 drivers/irqchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 659c5e0..e338b471 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -19,6 +19,7 @@ config ARM_GIC_PM
 
 config ARM_GIC_MAX_NR
 	int
+	depends on ARM_GIC
 	default 2 if ARCH_REALVIEW
 	default 1
 
-- 
1.8.5.6


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-14 12:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-14 12:57 [PATCH] irqchip/gic: Add dependency for ARM_GIC_MAX_NR Jiangfeng Xiao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.