Skip to content

Commit

Permalink
[PATCH] ppc64: pcibus_to_node fix
Browse files Browse the repository at this point in the history
asm-generic/topology.h must also be included if CONFIG_NUMA is set in order to
provide the fall back pcibus_to_node function.

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
clameter authored and Linus Torvalds committed Jun 23, 2005
1 parent 4a35293 commit e164f55
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/asm-ppc64/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,8 @@ static inline int node_to_first_cpu(int node)
.nr_balance_failed = 0, \
}

#else /* !CONFIG_NUMA */
#endif /* CONFIG_NUMA */

#include <asm-generic/topology.h>

#endif /* CONFIG_NUMA */

#endif /* _ASM_PPC64_TOPOLOGY_H */

0 comments on commit e164f55

Please sign in to comment.