diff options
-rw-r--r-- | arch/powerpc/mm/fsl_booke_mmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/mm/fsl_booke_mmu.c b/arch/powerpc/mm/fsl_booke_mmu.c index 6d38d77ebe25..985b6c361ab4 100644 --- a/arch/powerpc/mm/fsl_booke_mmu.c +++ b/arch/powerpc/mm/fsl_booke_mmu.c | |||
@@ -218,7 +218,7 @@ adjust_total_lowmem(void) | |||
218 | p += sprintf(p, "0/"); | 218 | p += sprintf(p, "0/"); |
219 | p[-1] = '\0'; | 219 | p[-1] = '\0'; |
220 | 220 | ||
221 | pr_info("Memory CAM mapping: %s Mb, residual: %ldMb\n", buf, | 221 | pr_info("Memory CAM mapping: %s Mb, residual: %dMb\n", buf, |
222 | (total_lowmem - __max_low_memory) >> 20); | 222 | (unsigned int)((total_lowmem - __max_low_memory) >> 20)); |
223 | __initial_memory_limit_addr = memstart_addr + __max_low_memory; | 223 | __initial_memory_limit_addr = memstart_addr + __max_low_memory; |
224 | } | 224 | } |