Skip to content

Commit 209ff86

Browse files
tang-chentorvalds
authored andcommitted
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>
1 parent 6056d61 commit 209ff86

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

mm/memblock.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,11 @@ static void __init_memblock memblock_merge_regions(struct memblock_type *type)
322322

323323
/**
324324
* memblock_insert_region - insert new memblock region
325-
* @type: memblock type to insert into
326-
* @idx: index for the insertion point
327-
* @base: base address of the new region
328-
* @size: size of the new region
325+
* @type: memblock type to insert into
326+
* @idx: index for the insertion point
327+
* @base: base address of the new region
328+
* @size: size of the new region
329+
* @nid: node id of the new region
329330
*
330331
* Insert new memblock region [@base,@base+@size) into @type at @idx.
331332
* @type must already have extra room to accomodate the new region.

0 commit comments

Comments
 (0)