mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 10:01:41 +00:00
cpumask: remove the now-obsoleted pcibus_to_cpumask(): powerpc
cpumask_of_pcibus() is the new version. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
f5564b823b
commit
b966cd6b28
@ -36,11 +36,6 @@ static inline int pcibus_to_node(struct pci_bus *bus)
|
||||
}
|
||||
#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) (pcibus_to_node(bus) == -1 ? \
|
||||
cpu_all_mask : \
|
||||
cpumask_of_node(pcibus_to_node(bus)))
|
||||
|
Loading…
Reference in New Issue
Block a user