public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/4] cpumask: cpu_coregroup_mask(): sparc
@ 2008-12-01  6:16 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2008-12-01  6:16 UTC (permalink / raw)
  To: David S. Miller; +Cc: linux-kernel, Mike Travis, Mike Travis

Like cpu_coregroup_map, but returns a (const) pointer.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.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 */



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-01  6:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-01  6:16 [PATCH 2/4] cpumask: cpu_coregroup_mask(): sparc Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox