Commit cc301d26 authored by Rusty Russell's avatar Rusty Russell

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: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 7b45101d
...@@ -43,10 +43,6 @@ static inline int pcibus_to_node(struct pci_bus *pbus) ...@@ -43,10 +43,6 @@ static inline int pcibus_to_node(struct pci_bus *pbus)
} }
#endif #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) \ #define cpumask_of_pcibus(bus) \
(pcibus_to_node(bus) == -1 ? \ (pcibus_to_node(bus) == -1 ? \
CPU_MASK_ALL_PTR : \ CPU_MASK_ALL_PTR : \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment