diff options
author | Jiangfeng Xiao <xiaojiangfeng@huawei.com> | 2019-06-14 14:57:09 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-06-17 11:10:02 +0200 |
commit | 702655234dd1d07e76f9bff9575e438c969fc32c (patch) | |
tree | e73e9b5181cf0dd1654eddd9a2e3f327df0f920a /drivers/irqchip | |
parent | irqchip/qcom: Use struct_size() in devm_kzalloc() (diff) | |
download | linux-702655234dd1d07e76f9bff9575e438c969fc32c.tar.xz linux-702655234dd1d07e76f9bff9575e438c969fc32c.zip |
irqchip/gic: Add dependency for ARM_GIC_MAX_NR
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>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip')
-rw-r--r-- | drivers/irqchip/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index fe509b88f99a..b2391d994da2 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 |