memblock: Implement memblock_add_node()
Implement memblock_add_node() which can add a new memblock memory region with specific node ID. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Yinghai Lu <yinghai@kernel.org>
This commit is contained in:
parent
1aadc0560f
commit
7fb0bc3f06
2 changed files with 14 additions and 7 deletions
|
|
@ -52,6 +52,7 @@ int memblock_free_reserved_regions(void);
|
|||
int memblock_reserve_reserved_regions(void);
|
||||
|
||||
void memblock_allow_resize(void);
|
||||
int memblock_add_node(phys_addr_t base, phys_addr_t size, int nid);
|
||||
int memblock_add(phys_addr_t base, phys_addr_t size);
|
||||
int memblock_remove(phys_addr_t base, phys_addr_t size);
|
||||
int memblock_free(phys_addr_t base, phys_addr_t size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue