提交 cc301d26 编写于 作者: R 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: NRusty Russell <rusty@rustcorp.com.au>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册