aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/init_64.c
diff options
context:
space:
mode:
authorTony Breeds <tony@bakeyournoodle.com>2007-10-17 00:30:25 -0400
committerPaul Mackerras <paulus@samba.org>2007-10-17 08:30:09 -0400
commitf6b80769109d5b2d9291dd788f4c250cc8b7a55b (patch)
treeee023c994ae59d0ca31cd3f64a590361f6d12425 /arch/powerpc/mm/init_64.c
parent081c11a5d0cc24ab58adc7de2ddf209149bf176f (diff)
[POWERPC] Fix vmemmap warning in init_64.c
Use the right printk format to silence the following warning. CC arch/powerpc/mm/init_64.o arch/powerpc/mm/init_64.c: In function 'vmemmap_populate': arch/powerpc/mm/init_64.c:243: warning: format '%p' expects type 'void *', but argument 4 has type 'long unsigned int' Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm/init_64.c')
-rw-r--r--arch/powerpc/mm/init_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c
index 702d884a338a..6720b1c93f18 100644
--- a/arch/powerpc/mm/init_64.c
+++ b/arch/powerpc/mm/init_64.c
@@ -240,7 +240,7 @@ int __meminit vmemmap_populate(struct page *start_page,
240 return -ENOMEM; 240 return -ENOMEM;
241 241
242 printk(KERN_WARNING "vmemmap %08lx allocated at %p, " 242 printk(KERN_WARNING "vmemmap %08lx allocated at %p, "
243 "physical %p.\n", start, p, __pa(p)); 243 "physical %08lx.\n", start, p, __pa(p));
244 244
245 mapped = htab_bolt_mapping(start, start + page_size, 245 mapped = htab_bolt_mapping(start, start + page_size,
246 __pa(p), mode_rw, mmu_linear_psize, 246 __pa(p), mode_rw, mmu_linear_psize,