Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755156AbbHEWoa (ORCPT ); Wed, 5 Aug 2015 18:44:30 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:21662 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755110AbbHEWoZ (ORCPT ); Wed, 5 Aug 2015 18:44:25 -0400 From: Paul Burton To: CC: Paul Burton , Markos Chandras , , Ralf Baechle , Subject: [PATCH 5/6] MIPS: CONFIG_MIPS_MT_SMP should depend upon CPU_MIPSR2 Date: Wed, 5 Aug 2015 15:42:39 -0700 Message-ID: <1438814560-19821-6-git-send-email-paul.burton@imgtec.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1438814560-19821-1-git-send-email-paul.burton@imgtec.com> References: <1438814560-19821-1-git-send-email-paul.burton@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.159.103] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1182 Lines: 34 The MT ASE cannot be used with CPUs that implement older releases of the MIPS architecture than release 2, and is replaced in release 6. Encode these constraints in Kconfig to ensure that MT code is only built as part of kernels targeting an appropriate revision of the architecture. Signed-off-by: Paul Burton Cc: Markos Chandras Cc: # 3.16+ --- arch/mips/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index cee5f93..ef248cf 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2114,7 +2114,7 @@ config CPU_R4K_CACHE_TLB config MIPS_MT_SMP bool "MIPS MT SMP support (1 TC on each available VPE)" - depends on SYS_SUPPORTS_MULTITHREADING + depends on SYS_SUPPORTS_MULTITHREADING && CPU_MIPSR2 select CPU_MIPSR2_IRQ_VI select CPU_MIPSR2_IRQ_EI select SYNC_R4K -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/