Skip to content

Commit

Permalink
cpumask: remove the now-obsoleted pcibus_to_cpumask(): powerpc
Browse files Browse the repository at this point in the history
cpumask_of_pcibus() is the new version.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
Rusty Russell committed Sep 24, 2009
1 parent f5564b8 commit b966cd6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/powerpc/include/asm/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit b966cd6

Please sign in to comment.