aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-02-12 10:39:23 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-02-12 17:54:53 -0500
commit96a8bac5895a41b0fb05a6aa7c3fa1ea631a91fe (patch)
tree62b44d0d1613b8cba537d5dd9b0d80d1b6adaa7e /arch/powerpc/mm
parent70fe3af8403f85196bb74f22ce4813db7dfedc1a (diff)
powerpc/fsl-booke: Fix compile warning
arch/powerpc/mm/fsl_booke_mmu.c: In function 'adjust_total_lowmem': arch/powerpc/mm/fsl_booke_mmu.c:221: warning: format '%ld' expects type 'long int', but argument 3 has type 'phys_addr_t' Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r--arch/powerpc/mm/fsl_booke_mmu.c4
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}