Patchwork [2/2,sparc64] support sparc64x chip type in cpumap.c

login
register
mail settings
Submitter Allen Pais
Date July 23, 2013, 11:21 a.m.
Message ID <1374578465-2899-1-git-send-email-allen.pais@oracle.com>
Download mbox | patch
Permalink /patch/261054/
State Accepted
Delegated to: David Miller
Headers show

Comments

Allen Pais - July 23, 2013, 11:21 a.m.
Add SPARC64X chip type in cpumap.c to correctly
build CPU distribution map that spans all CPUs.

Signed-off-by: Allen Pais <allen.pais@oracle.com>
---
 arch/sparc/kernel/cpumap.c |    1 +
 1 file changed, 1 insertion(+)
David Miller - Aug. 1, 2013, 2:10 a.m.
From: Allen Pais <allen.pais@oracle.com>
Date: Tue, 23 Jul 2013 16:51:05 +0530

> Add SPARC64X chip type in cpumap.c to correctly
> build CPU distribution map that spans all 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

Patch

diff --git a/arch/sparc/kernel/cpumap.c b/arch/sparc/kernel/cpumap.c
index e4de74c..cb5d272 100644
--- a/arch/sparc/kernel/cpumap.c
+++ b/arch/sparc/kernel/cpumap.c
@@ -327,6 +327,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_SPARC64X:
 		rover_inc_table = niagara_iterate_method;
 		break;
 	default: