OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.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
afd3cc1
..
3270cfb
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 */