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

Commit 97c12f85 authored by Rusty Russell's avatar Rusty Russell
Browse files

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



Impact: reduce stack usage for large NR_CPUS

cpumask_of_pcibus() is the new version.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 612a726f
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -47,13 +47,6 @@
#define pcibus_to_node(bus)	((void)(bus), -1)
#endif

#ifndef pcibus_to_cpumask
#define pcibus_to_cpumask(bus)	(pcibus_to_node(bus) == -1 ? \
					CPU_MASK_ALL : \
					node_to_cpumask(pcibus_to_node(bus)) \
				)
#endif

#ifndef cpumask_of_pcibus
#define cpumask_of_pcibus(bus)	(pcibus_to_node(bus) == -1 ?		\
				 cpu_all_mask :				\