From: Benjamin Herrenschmidt Date: Fri, 28 Mar 2014 02:36:26 +0000 (+1100) Subject: powerpc: Adjust CPU_FTR_SMT on all platforms X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4a85b31d369b496c316d89b144ee9626073e5ef2;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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