浏览代码

[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>
Anton Blanchard 19 年之前
父节点
当前提交
c258dd40ab
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/powerpc/mm/mem.c

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