Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp403892pxj; Thu, 20 May 2021 12:02:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykw+B5LZHlP1Ug4/9o5l+sDSEUOvpW/vF/ddjhVlnGHRk05UfGr6Py0LsuZoYwvYxjLL6u X-Received: by 2002:a05:6e02:1c87:: with SMTP id w7mr7433752ill.25.1621537319993; Thu, 20 May 2021 12:01:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537319; cv=none; d=google.com; s=arc-20160816; b=trahFKK52dh/b0s/gv4QmP4ZeYJuFJ1oS6w/4Hf+KNusinOPUBEmJksym/QUr/2QNd MCx8RJwDGpMXIbFxjMzyPhHRaDmruQB4Un1i/VKLyJUkuCefROgXk+rq09nObY/TisNt BxHZk1AAgZT/oyTAT3PbbuNrx4u/2rw3jJLPMgtYSz9hXcyRRa34LBnLhmij78aK/b60 9fawthsy3Ieq9XUeTeH+tVI2CQVCu3a7H9i4ds6ApXrSVXtEliK1X6iPveTnVYdA6F66 CudQA2Dmyl0Udf3dt0dvINDek8AU4HIapb8pg0EvsWF7rNx1PjbyHIMdjTKrFVgiD6RN j9iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=vnUf2Nkd+sNkp5Hd3OxmEaxBAKmVK9m7ulcmz0PNylY=; b=lJphgc4WYBEYKHWml/Fr7kC245cTvmKKR5JCMasO8BYrDPLLgV28rZkqhqWKeDYwBQ Y1L71xhk4BDHnaHVhZ4AuJCIyQdpM7syW543dU3F1ngqKxPwlzhoMHLCnrJG7p90uzzj TKdetqMb4tvAlTmc3Z7xH76vfQMJh7y7SnE7C9AGZ49NhigldAYlsqrjVlTWCAB1S5v5 nYUeHPyoCaK1lEeOB9n01KsJiZMmJvZNtAZPjrUBhvVb+iokzzQNsPo/gQGlwJi38U8C ZMA6NDR6ul1pXQuHN8Hqv8J7Bw1pc7kIst54MC6z62udlZK+bDuY84hugxepABa1pHvB v7bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nZhXlxNs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si1384166jaj.29.2021.05.20.12.01.46; Thu, 20 May 2021 12:01:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nZhXlxNs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236798AbhETK2Z (ORCPT + 99 others); Thu, 20 May 2021 06:28:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:46058 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236508AbhETKP1 (ORCPT ); Thu, 20 May 2021 06:15:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0F10961992; Thu, 20 May 2021 09:45:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621503943; bh=BrOjBnt9DewRdaC055tohcnQ/St4nBuNGSrAG5wErXI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nZhXlxNsaEidsuWoGsHsJYHHVANfbbi3ITCkjILtYE3qVzbgE5nlwL3C8PEl2XkVL WAw71dnNvfJCvDHMWiV0/n+AD3H6cCvJ05T75dlhvf5zJTKb8d+G3VeiOWVdBhbEeF G0OTLj5PYFk4GOiees/cpFDjbkgRC2ES6FoSrg4s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Matt Redfearn , Ralf Baechle , Paul Burton , "Maciej W. Rozycki" , linux-mips@linux-mips.org, James Hogan , Sudip Mukherjee Subject: [PATCH 4.14 009/323] MIPS: cpu-features.h: Replace __mips_isa_rev with MIPS_ISA_REV Date: Thu, 20 May 2021 11:18:21 +0200 Message-Id: <20210520092120.438370982@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092120.115153432@linuxfoundation.org> References: <20210520092120.115153432@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matt Redfearn commit 18ba210a29d08ea96025cb9d19c2eebf65846330 upstream Remove the need to check that __mips_isa_rev is defined by using the newly added MIPS_ISA_REV. Signed-off-by: Matt Redfearn Cc: Ralf Baechle Cc: Paul Burton Cc: "Maciej W. Rozycki" Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/18675/ Signed-off-by: James Hogan Signed-off-by: Sudip Mukherjee Signed-off-by: Greg Kroah-Hartman --- arch/mips/include/asm/cpu-features.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/arch/mips/include/asm/cpu-features.h +++ b/arch/mips/include/asm/cpu-features.h @@ -11,6 +11,7 @@ #include #include +#include #include /* @@ -493,7 +494,7 @@ # define cpu_has_perf (cpu_data[0].options & MIPS_CPU_PERF) #endif -#if defined(CONFIG_SMP) && defined(__mips_isa_rev) && (__mips_isa_rev >= 6) +#if defined(CONFIG_SMP) && (MIPS_ISA_REV >= 6) /* * Some systems share FTLB RAMs between threads within a core (siblings in * kernel parlance). This means that FTLB entries may become invalid at almost @@ -525,7 +526,7 @@ # define cpu_has_shared_ftlb_entries \ (current_cpu_data.options & MIPS_CPU_SHARED_FTLB_ENTRIES) # endif -#endif /* SMP && __mips_isa_rev >= 6 */ +#endif /* SMP && MIPS_ISA_REV >= 6 */ #ifndef cpu_has_shared_ftlb_ram # define cpu_has_shared_ftlb_ram 0