Commit c258dd40 authored by Anton Blanchard's avatar Anton Blanchard Committed by Paul Mackerras

[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: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 4df20460
...@@ -342,7 +342,7 @@ void __init mem_init(void) ...@@ -342,7 +342,7 @@ void __init mem_init(void)
#ifdef CONFIG_NEED_MULTIPLE_NODES #ifdef CONFIG_NEED_MULTIPLE_NODES
for_each_online_node(nid) { for_each_online_node(nid) {
if (NODE_DATA(nid)->node_spanned_pages != 0) { if (NODE_DATA(nid)->node_spanned_pages != 0) {
printk("freeing bootmem node %x\n", nid); printk("freeing bootmem node %d\n", nid);
totalram_pages += totalram_pages +=
free_all_bootmem_node(NODE_DATA(nid)); free_all_bootmem_node(NODE_DATA(nid));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment