ARM: Move platform memory reservations out of generic code
Move the platform specific bootmem memory reservations out of arch/arm/mm/mmu.c into their respective platform files. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@ -358,7 +358,7 @@ static void arm_memory_present(struct meminfo *mi)
|
||||
}
|
||||
#endif
|
||||
|
||||
void __init bootmem_init(void)
|
||||
void __init bootmem_init(struct machine_desc *mdesc)
|
||||
{
|
||||
struct meminfo *mi = &meminfo;
|
||||
unsigned long min, max_low, max_high;
|
||||
@ -380,6 +380,9 @@ void __init bootmem_init(void)
|
||||
*/
|
||||
reserve_special_regions();
|
||||
|
||||
if (mdesc->reserve)
|
||||
mdesc->reserve();
|
||||
|
||||
/*
|
||||
* If the initrd is present, reserve its memory.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user