aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/topology.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2005-12-13 06:56:47 +1100
committerPaul Mackerras <paulus@samba.org>2006-01-09 14:53:37 +1100
commit4b703a231799f43f3414b62300b8ad6736a4aa9d (patch)
tree401d9edc69193858bd25f97477207f143dd5aa68 /include/asm-powerpc/topology.h
parent[PATCH] Documentation/powerpc: index update (diff)
downloadlinux-dev-4b703a231799f43f3414b62300b8ad6736a4aa9d.tar.xz
linux-dev-4b703a231799f43f3414b62300b8ad6736a4aa9d.zip
[PATCH] ppc64: Add NUMA cpu summary at boot
We used to print a NUMA cpu summary at boot before the hotplug cpu code was added. This has been useful for catching machine configuration as well as firmware bugs in the past. This patch restores that functionality. An example of the output is: Node 0 CPUs: 0-7 Node 1 CPUs: 8-15 Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/topology.h')
-rw-r--r--include/asm-powerpc/topology.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/topology.h b/include/asm-powerpc/topology.h
index db8095cbe09b..f8a130af7d09 100644
--- a/include/asm-powerpc/topology.h
+++ b/include/asm-powerpc/topology.h
@@ -55,8 +55,12 @@ static inline int node_to_first_cpu(int node)
.nr_balance_failed = 0, \
}
+extern void __init dump_numa_cpu_topology(void);
+
#else
+static inline void dump_numa_cpu_topology(void) {}
+
#include <asm-generic/topology.h>
#endif /* CONFIG_NUMA */