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:
612a726
)
cpumask: remove the now-obsoleted pcibus_to_cpumask(): generic
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 31 Mar 2009 04:05:17 +0000
(22:05 -0600)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 30 Mar 2009 11:35:17 +0000
(22:05 +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>
include/asm-generic/topology.h
patch
|
blob
|
history
diff --git
a/include/asm-generic/topology.h
b/include/asm-generic/topology.h
index
47766b3
..
88bada2
100644
(file)
--- a/
include/asm-generic/topology.h
+++ b/
include/asm-generic/topology.h
@@
-47,13
+47,6
@@
#define pcibus_to_node(bus) ((void)(bus), -1)
#endif
-#ifndef pcibus_to_cpumask
-#define pcibus_to_cpumask(bus) (pcibus_to_node(bus) == -1 ? \
- CPU_MASK_ALL : \
- node_to_cpumask(pcibus_to_node(bus)) \
- )
-#endif
-
#ifndef cpumask_of_pcibus
#define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \
cpu_all_mask : \