aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-09-24 11:34:25 -0400
committerRusty Russell <rusty@rustcorp.com.au>2009-09-23 20:04:26 -0400
commitb966cd6b285d4cd6feaf8b06b21bc87adb907929 (patch)
tree6eb4ec68eb3167b24b26c52792cc077b5ae024cd /arch/powerpc/include
parentf5564b823bbe211bab98d12de7b1f7d42cfb4a87 (diff)
cpumask: remove the now-obsoleted pcibus_to_cpumask(): powerpc
cpumask_of_pcibus() is the new version. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/topology.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h
index 394edcbcce71..9a3300d6a27a 100644
--- a/arch/powerpc/include/asm/topology.h
+++ b/arch/powerpc/include/asm/topology.h
@@ -36,11 +36,6 @@ static inline int pcibus_to_node(struct pci_bus *bus)
36} 36}
37#endif 37#endif
38 38
39#define pcibus_to_cpumask(bus) (pcibus_to_node(bus) == -1 ? \
40 CPU_MASK_ALL : \
41 node_to_cpumask(pcibus_to_node(bus)) \
42 )
43
44#define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ 39#define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \
45 cpu_all_mask : \ 40 cpu_all_mask : \
46 cpumask_of_node(pcibus_to_node(bus))) 41 cpumask_of_node(pcibus_to_node(bus)))