diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-19 20:34:13 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-24 03:47:34 +0100 |
commit | ff7c660092de1f70e156cf95784a4b55556412d9 (patch) | |
tree | 8d55c21e650478da862320e0369d9decba182951 /arch/powerpc/mm | |
parent | powerpc/mm: Rename arch/powerpc/kernel/mmap.c to mmap_64.c (diff) | |
download | linux-ff7c660092de1f70e156cf95784a4b55556412d9.tar.xz linux-ff7c660092de1f70e156cf95784a4b55556412d9.zip |
powerpc/mm: Fix printk type warning in mmu_context_nohash
We need to use %zu instead of %d when printing a sizeof()
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r-- | arch/powerpc/mm/mmu_context_nohash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/mmu_context_nohash.c b/arch/powerpc/mm/mmu_context_nohash.c index ac4cb04ceb69..a70e311bd457 100644 --- a/arch/powerpc/mm/mmu_context_nohash.c +++ b/arch/powerpc/mm/mmu_context_nohash.c @@ -380,7 +380,7 @@ void __init mmu_context_init(void) #endif printk(KERN_INFO - "MMU: Allocated %d bytes of context maps for %d contexts\n", + "MMU: Allocated %zu bytes of context maps for %d contexts\n", 2 * CTX_MAP_SIZE + (sizeof(void *) * (last_context + 1)), last_context - first_context + 1); |