mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
MIPS: replace add_memory_region with memblock
add_memory_region was the old interface for registering memory and was already changed to used memblock internaly. Replace it by directly calling memblock functions. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
@@ -141,7 +141,7 @@ static void __init bcm47xx_register_bcma(void)
|
||||
|
||||
/*
|
||||
* Memory setup is done in the early part of MIPS's arch_mem_init. It's supposed
|
||||
* to detect memory and record it with add_memory_region.
|
||||
* to detect memory and record it with memblock_add.
|
||||
* Any extra initializaion performed here must not use kmalloc or bootmem.
|
||||
*/
|
||||
void __init plat_mem_setup(void)
|
||||
|
||||
Reference in New Issue
Block a user