Commit cb3d560f authored by Rusty Russell's avatar Rusty Russell

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

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 101aaca1
...@@ -109,11 +109,6 @@ static inline int __pcibus_to_node(const struct pci_bus *bus) ...@@ -109,11 +109,6 @@ static inline int __pcibus_to_node(const struct pci_bus *bus)
return sd->node; return sd->node;
} }
static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus)
{
return node_to_cpumask(__pcibus_to_node(bus));
}
static inline const struct cpumask * static inline const struct cpumask *
cpumask_of_pcibus(const struct pci_bus *bus) cpumask_of_pcibus(const struct pci_bus *bus)
{ {
......
...@@ -143,7 +143,6 @@ extern void setup_node_to_cpumask_map(void); ...@@ -143,7 +143,6 @@ extern void setup_node_to_cpumask_map(void);
#define parent_node(node) (node) #define parent_node(node) (node)
#define pcibus_to_node(bus) __pcibus_to_node(bus) #define pcibus_to_node(bus) __pcibus_to_node(bus)
#define pcibus_to_cpumask(bus) __pcibus_to_cpumask(bus)
#ifdef CONFIG_X86_32 #ifdef CONFIG_X86_32
extern unsigned long node_start_pfn[]; extern unsigned long node_start_pfn[];
......
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