aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-13 00:19:47 -0400
committerRusty Russell <rusty@rustcorp.com.au>2009-03-13 00:19:47 -0400
commitcb3d560f36c1e4aa3c26a1d79e9b6e62ab69896c (patch)
tree2bdc6c31a282df6da6ef7988e3f862966c10a113
parent101aaca1f32d9923331ddc63a7a72b3a7f934c02 (diff)
cpumask: remove the now-obsoleted pcibus_to_cpumask(): x86
Impact: reduce stack usage for large NR_CPUS cpumask_of_pcibus() is the new version. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--arch/x86/include/asm/pci.h5
-rw-r--r--arch/x86/include/asm/topology.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/pci.h b/arch/x86/include/asm/pci.h
index a977de23cb4d..93c8dc318111 100644
--- a/arch/x86/include/asm/pci.h
+++ b/arch/x86/include/asm/pci.h
@@ -109,11 +109,6 @@ static inline int __pcibus_to_node(const struct pci_bus *bus)
109 return sd->node; 109 return sd->node;
110} 110}
111 111
112static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus)
113{
114 return node_to_cpumask(__pcibus_to_node(bus));
115}
116
117static inline const struct cpumask * 112static inline const struct cpumask *
118cpumask_of_pcibus(const struct pci_bus *bus) 113cpumask_of_pcibus(const struct pci_bus *bus)
119{ 114{
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h
index 77cfb2cfb386..d772facb263e 100644
--- a/arch/x86/include/asm/topology.h
+++ b/arch/x86/include/asm/topology.h
@@ -143,7 +143,6 @@ extern void setup_node_to_cpumask_map(void);
143#define parent_node(node) (node) 143#define parent_node(node) (node)
144 144
145#define pcibus_to_node(bus) __pcibus_to_node(bus) 145#define pcibus_to_node(bus) __pcibus_to_node(bus)
146#define pcibus_to_cpumask(bus) __pcibus_to_cpumask(bus)
147 146
148#ifdef CONFIG_X86_32 147#ifdef CONFIG_X86_32
149extern unsigned long node_start_pfn[]; 148extern unsigned long node_start_pfn[];