diff mbox

[v2,2/3] sparc64: support M6 and M7 for building CPU distribution map

Message ID 1410157135-20393-2-git-send-email-allen.pais@oracle.com
State Accepted
Delegated to: David Miller
Headers show

Commit Message

Allen Sept. 8, 2014, 6:18 a.m. UTC
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>
---
 arch/sparc/kernel/cpumap.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

David Miller Sept. 9, 2014, 10:35 p.m. UTC | #1
From: Allen Pais <allen.pais@oracle.com>
Date: Mon,  8 Sep 2014 11:48:54 +0530

> 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>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/sparc/kernel/cpumap.c b/arch/sparc/kernel/cpumap.c
index de1c844..e69ec0e 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;