summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2006-03-25 07:27:09 +0100
committerPaul Mackerras <paulus@samba.org>2006-03-27 05:48:50 +0200
commitc258dd40ab8851c41873516ef90125e3bcd2e3e1 (patch)
tree0bcdf1d03a92e2db7a5c0ebaa69ab002f6dd6e2b /arch/powerpc/mm
parent[PATCH] powerpc: Allow non zero boot cpuids (diff)
downloadlinux-c258dd40ab8851c41873516ef90125e3bcd2e3e1.tar.xz
linux-c258dd40ab8851c41873516ef90125e3bcd2e3e1.zip
[PATCH] powerpc: Consistent printing of node id
We were printing node ids in hex in one spot. Lets be consistent and always print them in decimal. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r--arch/powerpc/mm/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index badac10d700c..4737f84bb19e 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc/mm/mem.c
@@ -342,7 +342,7 @@ void __init mem_init(void)
#ifdef CONFIG_NEED_MULTIPLE_NODES
for_each_online_node(nid) {
if (NODE_DATA(nid)->node_spanned_pages != 0) {
- printk("freeing bootmem node %x\n", nid);
+ printk("freeing bootmem node %d\n", nid);
totalram_pages +=
free_all_bootmem_node(NODE_DATA(nid));
}