cpumask: remove the now-obsoleted pcibus_to_cpumask(): sparc
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 16 Mar 2009 04:10:28 +0000 (14:40 +1030)
committerRusty 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

index 430ce39..a5ba4ad 100644 (file)
@@ -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 : \