Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp935030ybi; Fri, 14 Jun 2019 05:58:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzoaoc5TBbSLP/apdzPlXdn2GWEa6Xmr8di6wbT9bSU/8AFvAlU4FgpzTdAVkchKpCez4re X-Received: by 2002:a63:d512:: with SMTP id c18mr13786915pgg.239.1560517131385; Fri, 14 Jun 2019 05:58:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560517131; cv=none; d=google.com; s=arc-20160816; b=gJH2sIPyqWVf1YSaG97bOGPYEB84ikeUqWh+9Jx5WTFAfDtQWIyMFZNKc09P5mvXjd RgWaB+KIaJ8akwyjiWzc4EdrApyMRsoEIpq5+eWO5GQk511F20bRCF9TKZhjK3ynTqah pTdzpMv2QaFbNIisUfLjI3YMPSZwMRNvlVGYsdnPEGGFvSlzWnZZmppRo/9u4h9IvJqk ElwLER2ljJmYoHAR7qyksia/CqP80TpDBLKn2DHvsQF2fgZCzPUGppn0O7Q2t5GBim4F PgPDXQYXQx7m8XMeZWEhiVW9L0iSynP3VZ2mZ/PZeYjmim5CEpq6nObDoYPbemrcneW1 ThnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=Q1KnmrpFUjZM3W6s03K6lqfc1XhrHWst8z07+9REPCU=; b=cTvnU9N9XZP+UNEZo3YS5HxOi+UADUSZV5bMdRHifTAla8RnII4sB/QfE2dNeLljrx 8hSFoUxAisgDeeaL1mIQM/H7IOyuDFaOYw9AQOyJIH95ibBroVT8uteuLkzfMbi7av/l Xl/ypCmf9MqL2qib8YtSGyTjnphV9/KPt7qf2lzvfqouXvQfeGrBnzAsUQzz/WF6Oj0b dRJPzSYX91BzIcYj4ixFxU4Mdy8z3j/VqKOgiIPiOZSx3v9T7tlLvmfIdD6VY4DZEvOH Np79OTsr+MlVvQQaz3NssvtPTD2lvbil9ZB+1X549BaDQj5RzEL9ufE0O1/mVKsUzwYP jfaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f69si2296307pjg.43.2019.06.14.05.58.34; Fri, 14 Jun 2019 05:58:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727912AbfFNM5c (ORCPT + 99 others); Fri, 14 Jun 2019 08:57:32 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:38394 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726874AbfFNM5c (ORCPT ); Fri, 14 Jun 2019 08:57:32 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id DA54C41D436C5FD89996; Fri, 14 Jun 2019 20:57:25 +0800 (CST) Received: from huawei.com (10.67.189.167) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.439.0; Fri, 14 Jun 2019 20:57:19 +0800 From: Jiangfeng Xiao To: , , , , CC: , , Subject: [PATCH] irqchip/gic: Add dependency for ARM_GIC_MAX_NR Date: Fri, 14 Jun 2019 20:57:09 +0800 Message-ID: <1560517029-19777-1-git-send-email-xiaojiangfeng@huawei.com> X-Mailer: git-send-email 1.8.5.6 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.189.167] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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