Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751321AbcDNBTu (ORCPT ); Wed, 13 Apr 2016 21:19:50 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:32961 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750884AbcDNBTs (ORCPT ); Wed, 13 Apr 2016 21:19:48 -0400 From: Yang Shi To: will.deacon@arm.com, catalin.marinas@arm.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, yang.shi@linaro.org Subject: [PATCH] arm64: Kconfig: make SCHED_MC and SCHED_SMT depend on SMP Date: Wed, 13 Apr 2016 17:54:12 -0700 Message-Id: <1460595252-2330-1-git-send-email-yang.shi@linaro.org> X-Mailer: git-send-email 2.0.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 926 Lines: 31 SCHED_MC and SCHED_SMT are pointless when SMP is disabled. Although SMP is rarely disabled for ARM64, it looks more consistent to have such depend in Kconfig. Signed-off-by: Yang Shi --- arch/arm64/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 4f43622..e5de825 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -521,6 +521,7 @@ config CPU_BIG_ENDIAN config SCHED_MC bool "Multi-core scheduler support" + depends on SMP help Multi-core scheduler support improves the CPU scheduler's decision making when dealing with multi-core CPU chips at a cost of slightly @@ -528,6 +529,7 @@ config SCHED_MC config SCHED_SMT bool "SMT scheduler support" + depends on SMP help Improves the CPU scheduler's decision making when dealing with MultiThreading at a cost of slightly increased overhead in some -- 2.0.2