projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b45101
)
cpumask: remove the now-obsoleted pcibus_to_cpumask(): sparc
author
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 16 Mar 2009 04:10:28 +0000
(14:40 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 16 Mar 2009 04:10:28 +0000
(14:40 +1030)
Impact: reduce stack usage for large NR_CPUS
cpumask_of_pcibus() is the new version.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
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
430ce39
..
a5ba4ad
100644
(file)
--- a/
arch/sparc/include/asm/topology_64.h
+++ b/
arch/sparc/include/asm/topology_64.h
@@
-43,10
+43,6
@@
static inline int pcibus_to_node(struct pci_bus *pbus)
}
#endif
-#define pcibus_to_cpumask(bus) \
- (pcibus_to_node(bus) == -1 ? \
- CPU_MASK_ALL : \
- node_to_cpumask(pcibus_to_node(bus)))
#define cpumask_of_pcibus(bus) \
(pcibus_to_node(bus) == -1 ? \
CPU_MASK_ALL_PTR : \