summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2006-03-25 17:27:09 +1100
committerPaul Mackerras <paulus@samba.org>2006-03-27 14:48:50 +1100
commitc258dd40ab8851c41873516ef90125e3bcd2e3e1 (patch)
tree0bcdf1d03a92e2db7a5c0ebaa69ab002f6dd6e2b
parent4df20460a3ff0d60280738b094945c56cb5567a5 (diff)
downloadlinux-c258dd40ab8851c41873516ef90125e3bcd2e3e1.tar.gz
linux-c258dd40ab8851c41873516ef90125e3bcd2e3e1.tar.bz2
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>
-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));
}