From: Rusty Russell Date: Fri, 26 Dec 2008 11:53:42 +0000 (+1030) Subject: cpumask: cpu_coregroup_mask(): sparc X-Git-Tag: v2.6.29-rc1~521^2~11^2~49 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a0ae09b46a516f05ea76e3419ad43c46f52c1165;p=linux-2.6-omap-h63xx.git cpumask: cpu_coregroup_mask(): sparc Like cpu_coregroup_map, but returns a (const) pointer. Compile-tested on sparc64 (defconfig). Signed-off-by: Rusty Russell Signed-off-by: Mike Travis --- diff --git a/arch/sparc/include/asm/topology_64.h b/arch/sparc/include/asm/topology_64.h index afd3cc1824d..3270cfb1ab5 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) #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 */