diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-07-14 21:10:37 +1000 |
---|---|---|
committer | Sasha Levin <alexander.levin@verizon.com> | 2016-07-20 11:35:52 -0400 |
commit | da3e7add10e11c1ed81b11e95213fc3aace2aedd (patch) | |
tree | 63f3ccd559b58f2207c24544d36d04aa60b26204 | |
parent | 8c8e669bb8c5f690976883dd3b7a32d605c58d9a (diff) | |
download | lwn-da3e7add10e11c1ed81b11e95213fc3aace2aedd.tar.gz lwn-da3e7add10e11c1ed81b11e95213fc3aace2aedd.zip |
powerpc: Fix build break due to missing PPC_FEATURE2_HTM_NOSC
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>
-rw-r--r-- | arch/powerpc/kernel/prom.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index 7a218ab7e941..269ae9b58d74 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c @@ -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, |