瀏覽代碼

85xx: Use print_size to report amount of memory not mapped by TLBs

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala 16 年之前
父節點
當前提交
d4b130dc80
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cpu/mpc85xx/tlb.c

+ 1 - 1
cpu/mpc85xx/tlb.c

@@ -165,7 +165,7 @@ unsigned int setup_ddr_tlbs(unsigned int memsize_in_meg)
 	}
 
 	if (memsize)
-		printf("%lldM left unmapped\n", memsize >> 20);
+		print_size(memsize, " left unmapped\n");
 
 	/*
 	 * Confirm that the requested amount of memory was mapped.