]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
cpumask: remove the now-obsoleted pcibus_to_cpumask(): x86
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 13 Mar 2009 04:19:47 +0000 (14:49 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 13 Mar 2009 04:19:47 +0000 (14:49 +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/x86/include/asm/pci.h
arch/x86/include/asm/topology.h

index a977de23cb4d83320e5255de21ffc073a0859403..93c8dc318111d9f71078c62cdda8a5e4b15e27b9 100644 (file)
@@ -109,11 +109,6 @@ static inline int __pcibus_to_node(const struct pci_bus *bus)
        return sd->node;
 }
 
-static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus)
-{
-       return node_to_cpumask(__pcibus_to_node(bus));
-}
-
 static inline const struct cpumask *
 cpumask_of_pcibus(const struct pci_bus *bus)
 {
index 77cfb2cfb386d5b1a1727807b2a7c84ee8fc4c6c..d772facb263e2d3c11d0e8bb71eb14857ad414d4 100644 (file)
@@ -143,7 +143,6 @@ extern void setup_node_to_cpumask_map(void);
 #define parent_node(node) (node)
 
 #define pcibus_to_node(bus) __pcibus_to_node(bus)
-#define pcibus_to_cpumask(bus) __pcibus_to_cpumask(bus)
 
 #ifdef CONFIG_X86_32
 extern unsigned long node_start_pfn[];