sparc64: support M6 and M7 for building CPU distribution map
PATCH v2 2/3 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 <[email protected]>
--- arch/sparc/kernel/cpumap.c | 2 ++ 1 file changed, 2 insertions(+)
arch/sparc/kernel/cpumap.c +2 -0
@@ -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 ;
Signature · 1 line
1.8.4.2
From: Allen Pais <[email protected]>
Date: Mon, 8 Sep 2014 11:48:54 +0530
Quoted 3 lines
Add M6 and M7 chip type in
cpumap.cto correctly build CPU distribution map that spans all online CPUs.Signed-off-by Allen Pais <[email protected]>
Applied.