diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-03-27 22:36:26 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-04-06 20:33:13 -0400 |
commit | 4a85b31d369b496c316d89b144ee9626073e5ef2 (patch) | |
tree | bbb5e9715f6f49f6845a272e95f8f430fb6b8027 | |
parent | e6b8fd028b584ffca7a7255b8971f254932c9fce (diff) |
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>
-rw-r--r-- | arch/powerpc/kernel/prom.c | 2 |
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, | |||
379 | check_cpu_pa_features(node); | 379 | check_cpu_pa_features(node); |
380 | check_cpu_slb_size(node); | 380 | check_cpu_slb_size(node); |
381 | 381 | ||
382 | #ifdef CONFIG_PPC_PSERIES | 382 | #ifdef CONFIG_PPC64 |
383 | if (nthreads > 1) | 383 | if (nthreads > 1) |
384 | cur_cpu_spec->cpu_features |= CPU_FTR_SMT; | 384 | cur_cpu_spec->cpu_features |= CPU_FTR_SMT; |
385 | else | 385 | else |