From: Murilo Opsfelder Araujo <muriloo@linux.ibm.com>
To: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Cc: Murilo Opsfelder Araujo <muriloo@linux.ibm.com>,
Murilo Opsfelder Araujo <mopsfelder@gmail.com>,
Paul Mackerras <paulus@samba.org>,
"Aneesh Kumar K . V" <aneesh.kumar@linux.ibm.com>,
Alistair Popple <alistair@popple.id.au>,
Jordan Niethe <jniethe5@gmail.com>,
Daniel Axtens <dja@axtens.net>
Subject: [PATCH 2/3] powerpc/dt_cpu_ftrs: Make use of macro ISA_V3_0B
Date: Wed, 10 Jun 2020 18:51:13 -0300 [thread overview]
Message-ID: <20200610215114.167544-3-muriloo@linux.ibm.com> (raw)
In-Reply-To: <20200610215114.167544-1-muriloo@linux.ibm.com>
Macro ISA_V3_0B was defined but never used. Use it instead of
literal.
Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com>
---
arch/powerpc/kernel/dt_cpu_ftrs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/dt_cpu_ftrs.c b/arch/powerpc/kernel/dt_cpu_ftrs.c
index 1b7da8b5ce0d..9d6e833da2bd 100644
--- a/arch/powerpc/kernel/dt_cpu_ftrs.c
+++ b/arch/powerpc/kernel/dt_cpu_ftrs.c
@@ -673,7 +673,7 @@ static void __init cpufeatures_setup_start(u32 isa)
{
pr_info("setup for ISA %d\n", isa);
- if (isa >= 3000) {
+ if (isa >= ISA_V3_0B) {
cur_cpu_spec->cpu_features |= CPU_FTR_ARCH_300;
cur_cpu_spec->cpu_user_features2 |= PPC_FEATURE2_ARCH_3_00;
}
--
2.25.4
next prev parent reply other threads:[~2020-06-10 21:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-10 21:51 [PATCH 0/3] powerpc/dt_cpu_ftrs: Make use of ISA_V3_* macros Murilo Opsfelder Araujo
2020-06-10 21:51 ` [PATCH 1/3] powerpc/dt_cpu_ftrs: Remove unused macro ISA_V2_07B Murilo Opsfelder Araujo
2020-06-10 21:51 ` Murilo Opsfelder Araujo [this message]
2020-06-10 21:51 ` [PATCH 3/3] powerpc/dt_cpu_ftrs: Make use of macro ISA_V3_1 Murilo Opsfelder Araujo
2020-06-26 4:46 ` [PATCH 0/3] powerpc/dt_cpu_ftrs: Make use of ISA_V3_* macros Michael Ellerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200610215114.167544-3-muriloo@linux.ibm.com \
--to=muriloo@linux.ibm.com \
--cc=alistair@popple.id.au \
--cc=aneesh.kumar@linux.ibm.com \
--cc=dja@axtens.net \
--cc=jniethe5@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mopsfelder@gmail.com \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).