diff options
author | Murilo Opsfelder Araujo <muriloo@linux.ibm.com> | 2020-06-10 18:51:14 -0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-06-22 10:37:56 +1000 |
commit | 7714394706c0309b3f3fc474b390463d60eb6cb1 (patch) | |
tree | 7f8d8712330c6a86d97bf7750284c099d3332516 /arch | |
parent | e781f12a60a7bddb50909d42478cca8724c8b113 (diff) | |
download | linux-7714394706c0309b3f3fc474b390463d60eb6cb1.tar.bz2 |
powerpc/dt_cpu_ftrs: Make use of macro ISA_V3_1
Macro ISA_V3_1 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-4-muriloo@linux.ibm.com
Diffstat (limited to 'arch')
-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 9d6e833da2bd..a0edeb391e3e 100644 --- a/arch/powerpc/kernel/dt_cpu_ftrs.c +++ b/arch/powerpc/kernel/dt_cpu_ftrs.c @@ -678,7 +678,7 @@ static void __init cpufeatures_setup_start(u32 isa) cur_cpu_spec->cpu_user_features2 |= PPC_FEATURE2_ARCH_3_00; } - if (isa >= 3100) { + if (isa >= ISA_V3_1) { cur_cpu_spec->cpu_features |= CPU_FTR_ARCH_31; cur_cpu_spec->cpu_user_features2 |= PPC_FEATURE2_ARCH_3_1; } |