projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6b8fd0
)
powerpc: Adjust CPU_FTR_SMT on all platforms
author
Benjamin Herrenschmidt
<
[email protected]
>
Fri, 28 Mar 2014 02:36:26 +0000
(13:36 +1100)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Mon, 7 Apr 2014 00:33:13 +0000
(10:33 +1000)
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 <
[email protected]
>
arch/powerpc/kernel/prom.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/prom.c
b/arch/powerpc/kernel/prom.c
index dd72bebd708a5d297a84cbd627d7469687cc217c..337646ce4f34bd492a0b79959e8568f0f715e5b8 100644
(file)
--- 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_PPC
64
if (nthreads > 1)
cur_cpu_spec->cpu_features |= CPU_FTR_SMT;
else