projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
030bb20
)
cpumask: cpu_coregroup_mask(): sparc
author
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 26 Dec 2008 11:53:42 +0000
(22:23 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 26 Dec 2008 11:53:42 +0000
(22:23 +1030)
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>
arch/sparc/include/asm/topology_64.h
patch
|
blob
|
history
diff --git
a/arch/sparc/include/asm/topology_64.h
b/arch/sparc/include/asm/topology_64.h
index afd3cc1824d72a71242fb6b0551168ace4fafae0..3270cfb1ab53e91755ad15870533ec8aa4e59efb 100644
(file)
--- 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 */