Browse Source

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 năm trước cách đây
mục cha
commit
d4b130dc80
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.