提交 209ff86d 编写于 作者: T Tang Chen 提交者: Linus Torvalds

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: NTang Chen <tangchen@cn.fujitsu.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 6056d619
...@@ -322,10 +322,11 @@ static void __init_memblock memblock_merge_regions(struct memblock_type *type) ...@@ -322,10 +322,11 @@ static void __init_memblock memblock_merge_regions(struct memblock_type *type)
/** /**
* memblock_insert_region - insert new memblock region * memblock_insert_region - insert new memblock region
* @type: memblock type to insert into * @type: memblock type to insert into
* @idx: index for the insertion point * @idx: index for the insertion point
* @base: base address of the new region * @base: base address of the new region
* @size: size of the new region * @size: size of the new region
* @nid: node id of the new region
* *
* Insert new memblock region [@base,@base+@size) into @type at @idx. * Insert new memblock region [@base,@base+@size) into @type at @idx.
* @type must already have extra room to accomodate the new region. * @type must already have extra room to accomodate the new region.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册