diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-26 06:53:42 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-26 06:53:42 -0500 |
commit | a0ae09b46a516f05ea76e3419ad43c46f52c1165 (patch) | |
tree | 59f6a2009ad62756d3bb87b5473d586d8f5391d6 /arch/sparc | |
parent | 030bb203e01db12e3f2866799f4f03a114d06349 (diff) |
cpumask: cpu_coregroup_mask(): sparc
Like cpu_coregroup_map, but returns a (const) pointer.
Compile-tested on sparc64 (defconfig).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/topology_64.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/topology_64.h b/arch/sparc/include/asm/topology_64.h index afd3cc1824d7..3270cfb1ab53 100644 --- a/arch/sparc/include/asm/topology_64.h +++ b/arch/sparc/include/asm/topology_64.h | |||
@@ -84,5 +84,6 @@ static inline int pcibus_to_node(struct pci_bus *pbus) | |||
84 | #endif /* CONFIG_SMP */ | 84 | #endif /* CONFIG_SMP */ |
85 | 85 | ||
86 | #define cpu_coregroup_map(cpu) (cpu_core_map[cpu]) | 86 | #define cpu_coregroup_map(cpu) (cpu_core_map[cpu]) |
87 | #define cpu_coregroup_mask(cpu) (&cpu_core_map[cpu]) | ||
87 | 88 | ||
88 | #endif /* _ASM_SPARC64_TOPOLOGY_H */ | 89 | #endif /* _ASM_SPARC64_TOPOLOGY_H */ |