[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200812011646.52988.rusty@rustcorp.com.au>
Date: Mon, 1 Dec 2008 16:46:52 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: "David S. Miller" <davem@...emloft.net>
Cc: Mike Travis <travis@....com>
Subject: [PATCH 2/4] cpumask: cpu_coregroup_mask(): sparc
Like cpu_coregroup_map, but returns a (const) pointer.
Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>
Signed-off-by: Mike Travis <travis@....com>
---
arch/sparc/include/asm/topology_64.h | 1 +
1 file changed, 1 insertion(+)
diff -r de5f2bede0a7 arch/sparc/include/asm/topology_64.h
--- a/arch/sparc/include/asm/topology_64.h Tue Nov 18 21:49:07 2008 +1030
+++ b/arch/sparc/include/asm/topology_64.h Tue Nov 18 21:57:33 2008 +1030
@@ -83,6 +83,7 @@
#define smt_capable() (sparc64_multi_core)
#endif /* CONFIG_SMP */
#define cpu_coregroup_map(cpu) (cpu_core_map[cpu])
+#define cpu_coregroup_mask(cpu) (&cpu_core_map[cpu])
#endif /* _ASM_SPARC64_TOPOLOGY_H */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists