powerpc: Consistent printing of node id

Started by Anton Blanchard on Mar 25, 2006

DORMANTno replies

open the first message on its own page

We were printing node ids in hex in one spot. Lets be consistent and
always print them in decimal.

Signed-off-by: Anton Blanchard <redacted>
---

Index: build/arch/powerpc/mm/mem.c
===================================================================
--- build.orig/arch/powerpc/mm/mem.c	2006-03-24 15:51:18.000000000 +1100
+++ build/arch/powerpc/mm/mem.c	2006-03-24 16:13:26.000000000 +1100
@@ -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));
 		}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help