aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/topology.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-31 00:05:17 -0400
committerRusty Russell <rusty@rustcorp.com.au>2009-03-30 07:35:17 -0400
commit97c12f85ac5e4ac2faee6cada014ac6205105b19 (patch)
treeaca978fe7b281fbd5061a93cc6b78261fb068088 /include/asm-generic/topology.h
parent612a726faf8486fa48b34fa37115ce1e7421d383 (diff)
cpumask: remove the now-obsoleted pcibus_to_cpumask(): generic
Impact: reduce stack usage for large NR_CPUS cpumask_of_pcibus() is the new version. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/asm-generic/topology.h')
-rw-r--r--include/asm-generic/topology.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-generic/topology.h b/include/asm-generic/topology.h
index 47766b30061a..88bada2ebc4b 100644
--- a/include/asm-generic/topology.h
+++ b/include/asm-generic/topology.h
@@ -47,13 +47,6 @@
47#define pcibus_to_node(bus) ((void)(bus), -1) 47#define pcibus_to_node(bus) ((void)(bus), -1)
48#endif 48#endif
49 49
50#ifndef pcibus_to_cpumask
51#define pcibus_to_cpumask(bus) (pcibus_to_node(bus) == -1 ? \
52 CPU_MASK_ALL : \
53 node_to_cpumask(pcibus_to_node(bus)) \
54 )
55#endif
56
57#ifndef cpumask_of_pcibus 50#ifndef cpumask_of_pcibus
58#define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ 51#define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \
59 cpu_all_mask : \ 52 cpu_all_mask : \