Skip to content

Commit

Permalink
cpumask: remove the now-obsoleted pcibus_to_cpumask(): generic
Browse files Browse the repository at this point in the history
Impact: reduce stack usage for large NR_CPUS

cpumask_of_pcibus() is the new version.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
Rusty Russell committed Mar 30, 2009
1 parent 612a726 commit 97c12f8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions include/asm-generic/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 : \
Expand Down

0 comments on commit 97c12f8

Please sign in to comment.