diff options
author | Tejun Heo <tj@kernel.org> | 2011-12-08 13:22:08 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-12-08 13:22:08 -0500 |
commit | 7fb0bc3f06fdc3a35e41bcea7a15e53d2515362f (patch) | |
tree | 76da7b578a655915276c28047ec11fd678634d99 /include/linux/memblock.h | |
parent | 1aadc0560f46530f8a0f11055285b876a8a31770 (diff) |
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>
Diffstat (limited to 'include/linux/memblock.h')
-rw-r--r-- | include/linux/memblock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/memblock.h b/include/linux/memblock.h index c5b3bbc75897..c7b68f489d46 100644 --- a/include/linux/memblock.h +++ b/include/linux/memblock.h | |||
@@ -52,6 +52,7 @@ int memblock_free_reserved_regions(void); | |||
52 | int memblock_reserve_reserved_regions(void); | 52 | int memblock_reserve_reserved_regions(void); |
53 | 53 | ||
54 | void memblock_allow_resize(void); | 54 | void memblock_allow_resize(void); |
55 | int memblock_add_node(phys_addr_t base, phys_addr_t size, int nid); | ||
55 | int memblock_add(phys_addr_t base, phys_addr_t size); | 56 | int memblock_add(phys_addr_t base, phys_addr_t size); |
56 | int memblock_remove(phys_addr_t base, phys_addr_t size); | 57 | int memblock_remove(phys_addr_t base, phys_addr_t size); |
57 | int memblock_free(phys_addr_t base, phys_addr_t size); | 58 | int memblock_free(phys_addr_t base, phys_addr_t size); |