Skip to contentSkip to conversation

sparc64: support M7 for building CPU distribution map

PATCH In review Allen Pais 1 participant 1 message Aug 19, 2014 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

Allen Pais

author
#0 lore raw

PATCH 2/3 sparc64: support M7 for building CPU distribution map

Add M7 chip type in cpumap.c to correctly build CPU distribution map that spans all online CPUs.

---
 arch/sparc/kernel/cpumap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/sparc/kernel/cpumap.c +1 -0
index de1c844..0ece0ec 100644
@@ -326,6 +326,7 @@ 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_M7:
 	case SUN4V_CHIP_SPARC64X:
 		rover_inc_table = niagara_iterate_method;
 		break;
Signature · 1 line
1.7.1