Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cb73f4c authored by Rusty Russell's avatar Rusty Russell Committed by Paul Mundt
Browse files

cpumask: remove the now-obsoleted pcibus_to_cpumask(): sh



cpumask_of_pcibus() is the new version.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 78c99ba1
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -35,9 +35,6 @@
#define cpumask_of_node(node)	((void)node, cpu_online_mask)

#define pcibus_to_node(bus)	((void)(bus), -1)
#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 : \
					cpumask_of_node(pcibus_to_node(bus)))