diff options
author | Michal Simek <monstr@monstr.eu> | 2009-07-06 08:21:09 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-07-06 10:27:03 +0200 |
commit | db6e3f91efd2cf61b9965f722902199cf54adc4f (patch) | |
tree | ff63c4d010e4559c97d3e252dde308e8390fb2cc /arch/microblaze/mm | |
parent | 4ae78338157a1fe2d7a398d86bb9f9043d600d2b (diff) |
microblaze: Fix cast warning for init.c
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/mm')
-rw-r--r-- | arch/microblaze/mm/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c index b5a701cd71e..8d92c4efe9a 100644 --- a/arch/microblaze/mm/init.c +++ b/arch/microblaze/mm/init.c @@ -80,15 +80,15 @@ void __init setup_memory(void) memory_size = memory_end - memory_start; PAGE_OFFSET = memory_start; printk(KERN_INFO "%s: Main mem: 0x%x-0x%x, " - "size 0x%08x\n", __func__, memory_start, - memory_end, memory_size); + "size 0x%08x\n", __func__, (u32) memory_start, + (u32) memory_end, (u32) memory_size); break; } } if (!memory_start || !memory_end) { panic("%s: Missing memory setting 0x%08x-0x%08x\n", - __func__, memory_start, memory_end); + __func__, (u32) memory_start, (u32) memory_end); } /* reservation of region where is the kernel */ |