microblaze: Fix cast warning for init.c
authorMichal Simek <monstr@monstr.eu>
Mon, 6 Jul 2009 06:21:09 +0000 (08:21 +0200)
committerMichal Simek <monstr@monstr.eu>
Mon, 6 Jul 2009 08:27:03 +0000 (10:27 +0200)
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/mm/init.c

index b5a701cd71e08d86ceec067f011c98b4abe0f419..8d92c4efe9a4c8aa86ab5c123913524cfc2947a8 100644 (file)
@@ -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 */