]> git.hungrycats.org Git - linux/commitdiff
sparc64: support M6 and M7 for building CPU distribution map
authorAllen Pais <allen.pais@oracle.com>
Mon, 8 Sep 2014 06:18:54 +0000 (11:48 +0530)
committerJiri Slaby <jslaby@suse.cz>
Fri, 31 Oct 2014 14:09:51 +0000 (15:09 +0100)
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>
arch/sparc/kernel/cpumap.c

index cb5d272d658acce52fc85a77b1e730a40c5d885a..b031c9c08bca5a3a22ecebdfa7679222740424b7 100644 (file)
@@ -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;