summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-16 05:10:28 +0100
committerRusty Russell <rusty@rustcorp.com.au>2009-03-16 05:10:28 +0100
commitcc301d261f5d49cbff66b2f459f58f2652899cdb (patch)
tree3ffafad7b6a19cb3e41858210d66c9f0f7a73bc5 /arch/sparc
parentcpumask: remove cpu_coregroup_map: sparc (diff)
downloadlinux-cc301d261f5d49cbff66b2f459f58f2652899cdb.tar.xz
linux-cc301d261f5d49cbff66b2f459f58f2652899cdb.zip
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 430ce3920f9b..a5ba4ad12304 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 : \