OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a35293
)
[PATCH] ppc64: pcibus_to_node fix
author
Christoph Lameter
<christoph@lameter.com>
Thu, 23 Jun 2005 07:08:17 +0000
(
00:08
-0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:08 +0000
(09:45 -0700)
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>
include/asm-ppc64/topology.h
patch
|
blob
|
history
diff --git
a/include/asm-ppc64/topology.h
b/include/asm-ppc64/topology.h
index
d58d9dd
..
fcdcfd2
100644
(file)
--- a/
include/asm-ppc64/topology.h
+++ b/
include/asm-ppc64/topology.h
@@
-59,10
+59,8
@@
static inline int node_to_first_cpu(int node)
.nr_balance_failed = 0, \
}
-#e
lse /* !
CONFIG_NUMA */
+#e
ndif /*
CONFIG_NUMA */
#include <asm-generic/topology.h>
-#endif /* CONFIG_NUMA */
-
#endif /* _ASM_PPC64_TOPOLOGY_H */