summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-03-28 13:36:26 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-04-07 10:33:13 +1000
commit4a85b31d369b496c316d89b144ee9626073e5ef2 (patch)
treebbb5e9715f6f49f6845a272e95f8f430fb6b8027 /arch/powerpc
parente6b8fd028b584ffca7a7255b8971f254932c9fce (diff)
downloadblackbird-obmc-linux-4a85b31d369b496c316d89b144ee9626073e5ef2.tar.gz
blackbird-obmc-linux-4a85b31d369b496c316d89b144ee9626073e5ef2.zip
powerpc: Adjust CPU_FTR_SMT on all platforms
For historical reasons that code was under #ifdef CONFIG_PPC_PSERIES but it applies equally to all 64-bit platforms. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/prom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index dd72bebd708a..337646ce4f34 100644
--- a/arch/powerpc/kernel/prom.c
+++ b/arch/powerpc/kernel/prom.c
@@ -379,7 +379,7 @@ static int __init early_init_dt_scan_cpus(unsigned long node,
check_cpu_pa_features(node);
check_cpu_slb_size(node);
-#ifdef CONFIG_PPC_PSERIES
+#ifdef CONFIG_PPC64
if (nthreads > 1)
cur_cpu_spec->cpu_features |= CPU_FTR_SMT;
else
OpenPOWER on IntegriCloud