]> git.hungrycats.org Git - linux/commitdiff
powerpc: Fix build break due to missing PPC_FEATURE2_HTM_NOSC
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 14 Jul 2016 11:10:37 +0000 (21:10 +1000)
committerSasha Levin <alexander.levin@verizon.com>
Tue, 19 Jul 2016 19:49:46 +0000 (15:49 -0400)
The backport of 4705e02498d6 ("powerpc: Update TM user feature bits in
scan_features()") (f49eb503f0f9), missed the fact that 4.1 doesn't
include the commit that added PPC_FEATURE2_HTM_NOSC.

The correct fix is simply to omit PPC_FEATURE2_HTM_NOSC.

Fixes: f49eb503f0f9 ("powerpc: Update TM user feature bits in scan_features()")
Reported-by: Christian Zigotzky <chzigotzky@bayern-mail.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
arch/powerpc/kernel/prom.c

index 28dbbb0d12c4f146a0cdc2846a4bd74023ed6113..9b19d96e9562e77e9a82b02c7b6a219c45f59f44 100644 (file)
@@ -166,8 +166,7 @@ static struct ibm_pa_feature {
         * we don't want to turn on TM here, so we use the *_COMP versions
         * which are 0 if the kernel doesn't support TM.
         */
-       {CPU_FTR_TM_COMP, 0, 0,
-        PPC_FEATURE2_HTM_COMP|PPC_FEATURE2_HTM_NOSC_COMP, 22, 0, 0},
+       {CPU_FTR_TM_COMP, 0, 0, PPC_FEATURE2_HTM_COMP, 22, 0, 0},
 };
 
 static void __init scan_features(unsigned long node, const unsigned char *ftrs,