projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cadbb58
)
sparc64: support M6 and M7 for building CPU distribution map
author
Allen Pais
<allen.pais@oracle.com>
Mon, 8 Sep 2014 06:18:54 +0000
(11:48 +0530)
committer
David S. Miller
<davem@davemloft.net>
Tue, 9 Sep 2014 22:24:10 +0000
(15:24 -0700)
Add M6 and M7 chip type in cpumap.c to correctly build CPU distribution map that spans all online CPUs.
Signed-off-by: Allen Pais <allen.pais@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/cpumap.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/kernel/cpumap.c
b/arch/sparc/kernel/cpumap.c
index de1c844dfabc02569cfe71c91b3e52a9ea705ef4..e69ec0e3f15527705b3ce28fc89ff5c0341f03fb 100644
(file)
--- a/
arch/sparc/kernel/cpumap.c
+++ b/
arch/sparc/kernel/cpumap.c
@@
-326,6
+326,8
@@
static int iterate_cpu(struct cpuinfo_tree *t, unsigned int root_index)
case SUN4V_CHIP_NIAGARA3:
case SUN4V_CHIP_NIAGARA4:
case SUN4V_CHIP_NIAGARA5:
+ case SUN4V_CHIP_SPARC_M6:
+ case SUN4V_CHIP_SPARC_M7:
case SUN4V_CHIP_SPARC64X:
rover_inc_table = niagara_iterate_method;
break;