mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
microblaze: Fix cast warning for init.c
Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
4ae7833815
commit
db6e3f91ef
1 changed files with 3 additions and 3 deletions
|
@ -80,15 +80,15 @@ void __init setup_memory(void)
|
||||||
memory_size = memory_end - memory_start;
|
memory_size = memory_end - memory_start;
|
||||||
PAGE_OFFSET = memory_start;
|
PAGE_OFFSET = memory_start;
|
||||||
printk(KERN_INFO "%s: Main mem: 0x%x-0x%x, "
|
printk(KERN_INFO "%s: Main mem: 0x%x-0x%x, "
|
||||||
"size 0x%08x\n", __func__, memory_start,
|
"size 0x%08x\n", __func__, (u32) memory_start,
|
||||||
memory_end, memory_size);
|
(u32) memory_end, (u32) memory_size);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!memory_start || !memory_end) {
|
if (!memory_start || !memory_end) {
|
||||||
panic("%s: Missing memory setting 0x%08x-0x%08x\n",
|
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 */
|
/* reservation of region where is the kernel */
|
||||||
|
|
Loading…
Reference in a new issue