aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTang Chen <tangchen@cn.fujitsu.com>2013-04-29 18:08:41 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 18:54:38 -0400
commit209ff86d61d6b50979cffb47878fc77ca2f6c8a2 (patch)
tree0d9f5d13a752bcdaec96e2d4fae4dbbe03a1ab76
parent6056d619a8ac9eb7ad655a8571323c728ecc0a9b (diff)
memblock: fix missing comment of memblock_insert_region()
There is no comment for parameter nid of memblock_insert_region(). This patch adds comment for it. Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/memblock.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mm/memblock.c b/mm/memblock.c
index 2cce8b3e76ed..c5fad932fa51 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -322,10 +322,11 @@ static void __init_memblock memblock_merge_regions(struct memblock_type *type)
322 322
323/** 323/**
324 * memblock_insert_region - insert new memblock region 324 * memblock_insert_region - insert new memblock region
325 * @type: memblock type to insert into 325 * @type: memblock type to insert into
326 * @idx: index for the insertion point 326 * @idx: index for the insertion point
327 * @base: base address of the new region 327 * @base: base address of the new region
328 * @size: size of the new region 328 * @size: size of the new region
329 * @nid: node id of the new region
329 * 330 *
330 * Insert new memblock region [@base,@base+@size) into @type at @idx. 331 * Insert new memblock region [@base,@base+@size) into @type at @idx.
331 * @type must already have extra room to accomodate the new region. 332 * @type must already have extra room to accomodate the new region.