aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-16 14:40:28 +1030
committerRusty Russell <rusty@rustcorp.com.au>2009-03-16 14:40:28 +1030
commitcc301d261f5d49cbff66b2f459f58f2652899cdb (patch)
tree3ffafad7b6a19cb3e41858210d66c9f0f7a73bc5 /arch/sparc
parent7b45101d09ab13eafc0c3a5232e1606654d122ea (diff)
downloadkernel_samsung_smdk4412-cc301d261f5d49cbff66b2f459f58f2652899cdb.zip
kernel_samsung_smdk4412-cc301d261f5d49cbff66b2f459f58f2652899cdb.tar.gz
kernel_samsung_smdk4412-cc301d261f5d49cbff66b2f459f58f2652899cdb.tar.bz2
cpumask: remove the now-obsoleted pcibus_to_cpumask(): sparc
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 'arch/sparc')
-rw-r--r--arch/sparc/include/asm/topology_64.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc/include/asm/topology_64.h b/arch/sparc/include/asm/topology_64.h
index 430ce39..a5ba4ad 100644
--- a/arch/sparc/include/asm/topology_64.h
+++ b/arch/sparc/include/asm/topology_64.h
@@ -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 : \