summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAllen Pais <allen.pais@oracle.com>2014-09-08 11:48:54 +0530
committerJiri Slaby <jslaby@suse.cz>2014-10-31 15:09:51 +0100
commit4891b830195eb30dc861105e20a586bcd2fa0534 (patch)
tree01460e45813e78a0571abb7732a27370b9171556 /arch
parent6e7ffc94a368492fdb25aa5974d3564a0fb6208e (diff)
sparc64: support M6 and M7 for building CPU distribution map
commit 9bd3ee33f6b97de092610d8dcabc4cb98d99505c upstream. 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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/kernel/cpumap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/kernel/cpumap.c b/arch/sparc/kernel/cpumap.c
index cb5d272d658a..b031c9c08bca 100644
--- a/arch/sparc/kernel/cpumap.c
+++ b/arch/sparc/kernel/cpumap.c
@@ -327,6 +327,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;