diff options
author | Tejun Heo <tj@kernel.org> | 2011-12-08 10:22:08 -0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-12-08 10:22:08 -0800 |
commit | 7fb0bc3f06fdc3a35e41bcea7a15e53d2515362f (patch) | |
tree | 76da7b578a655915276c28047ec11fd678634d99 /include | |
parent | 1aadc0560f46530f8a0f11055285b876a8a31770 (diff) | |
download | linux-7fb0bc3f06fdc3a35e41bcea7a15e53d2515362f.tar.gz linux-7fb0bc3f06fdc3a35e41bcea7a15e53d2515362f.tar.bz2 linux-7fb0bc3f06fdc3a35e41bcea7a15e53d2515362f.zip |
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')
-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); 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); |