diff options
author | Allen Pais <allen.pais@oracle.com> | 2014-09-08 02:18:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-09 18:24:10 -0400 |
commit | 9bd3ee33f6b97de092610d8dcabc4cb98d99505c (patch) | |
tree | 93b085dc77c411e3ea65bb9d2149fa7a9ae3cf42 /arch/sparc/kernel | |
parent | cadbb58039f7cab1def9c931012ab04c953a6997 (diff) |
sparc64: support M6 and M7 for building CPU distribution map
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/sparc/kernel')
-rw-r--r-- | arch/sparc/kernel/cpumap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/kernel/cpumap.c b/arch/sparc/kernel/cpumap.c index de1c844dfabc..e69ec0e3f155 100644 --- 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) | |||
326 | case SUN4V_CHIP_NIAGARA3: | 326 | case SUN4V_CHIP_NIAGARA3: |
327 | case SUN4V_CHIP_NIAGARA4: | 327 | case SUN4V_CHIP_NIAGARA4: |
328 | case SUN4V_CHIP_NIAGARA5: | 328 | case SUN4V_CHIP_NIAGARA5: |
329 | case SUN4V_CHIP_SPARC_M6: | ||
330 | case SUN4V_CHIP_SPARC_M7: | ||
329 | case SUN4V_CHIP_SPARC64X: | 331 | case SUN4V_CHIP_SPARC64X: |
330 | rover_inc_table = niagara_iterate_method; | 332 | rover_inc_table = niagara_iterate_method; |
331 | break; | 333 | break; |