diff options
author | Murilo Opsfelder Araujo <muriloo@linux.ibm.com> | 2020-06-10 18:51:13 -0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-06-22 10:37:56 +1000 |
commit | e781f12a60a7bddb50909d42478cca8724c8b113 (patch) | |
tree | 66e45fc696cd979a38148a498c156126f285adf5 /arch/powerpc/kernel/dt_cpu_ftrs.c | |
parent | f39eb5d8ac707fd59029a06c3f985f29b1aaa26b (diff) | |
download | linux-e781f12a60a7bddb50909d42478cca8724c8b113.tar.gz linux-e781f12a60a7bddb50909d42478cca8724c8b113.tar.bz2 linux-e781f12a60a7bddb50909d42478cca8724c8b113.zip |
powerpc/dt_cpu_ftrs: Make use of macro ISA_V3_0B
Macro ISA_V3_0B was defined but never used. Use it instead of
literal.
Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200610215114.167544-3-muriloo@linux.ibm.com
Diffstat (limited to 'arch/powerpc/kernel/dt_cpu_ftrs.c')
-rw-r--r-- | arch/powerpc/kernel/dt_cpu_ftrs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |