Explorar o código

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

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala %!s(int64=16) %!d(string=hai) anos
pai
achega
d4b130dc80
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.