[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>
This commit is contained in:
Anton Blanchard
2005-12-13 06:56:47 +11:00
committed by Paul Mackerras
parent 2c066042ec
commit 4b703a2317
3 changed files with 43 additions and 3 deletions

View File

@@ -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 */