From: Allen Pais Date: Mon, 8 Sep 2014 06:18:54 +0000 (+0530) Subject: sparc64: support M6 and M7 for building CPU distribution map X-Git-Tag: submit/tizen/20160422.055611~1^2~99^2~18^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1548c5733d51cd8773acddcb9f2413d336515dc;p=sdk%2Femulator%2Femulator-kernel.git 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 Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- 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) 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;