* [PATCH] powerpc: Consistent printing of node id
@ 2006-03-25 6:27 Anton Blanchard
0 siblings, 0 replies; only message in thread
From: Anton Blanchard @ 2006-03-25 6:27 UTC (permalink / raw)
To: linuxppc-dev; +Cc: paulus
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>
---
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));
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-25 6:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-25 6:27 [PATCH] powerpc: Consistent printing of node id Anton Blanchard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox