[PATCH] ppc64: pcibus_to_node fix
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 <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
4a35293667
commit
e164f5573b
@@ -59,10 +59,8 @@ static inline int node_to_first_cpu(int node)
|
|||||||
.nr_balance_failed = 0, \
|
.nr_balance_failed = 0, \
|
||||||
}
|
}
|
||||||
|
|
||||||
#else /* !CONFIG_NUMA */
|
#endif /* CONFIG_NUMA */
|
||||||
|
|
||||||
#include <asm-generic/topology.h>
|
#include <asm-generic/topology.h>
|
||||||
|
|
||||||
#endif /* CONFIG_NUMA */
|
|
||||||
|
|
||||||
#endif /* _ASM_PPC64_TOPOLOGY_H */
|
#endif /* _ASM_PPC64_TOPOLOGY_H */
|
||||||
|
Reference in New Issue
Block a user