[PATCH] powerpc: Consistent printing of node id

Anton Blanchard anton at samba.org
Sat Mar 25 17:27:09 EST 2006


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 at samba.org>
---

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));
 		}



More information about the Linuxppc-dev mailing list