提交 e164f557 编写于 作者: C Christoph Lameter 提交者: Linus Torvalds

[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: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 4a352936
...@@ -59,10 +59,8 @@ static inline int node_to_first_cpu(int node) ...@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册