Skip to content

Commit

Permalink
memblock: fix missing comment of memblock_insert_region()
Browse files Browse the repository at this point in the history
There is no comment for parameter nid of memblock_insert_region().
This patch adds comment for it.

Signed-off-by: Tang Chen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
tang-chen authored and torvalds committed Apr 29, 2013
1 parent 6056d61 commit 209ff86
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions mm/memblock.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,11 @@ static void __init_memblock memblock_merge_regions(struct memblock_type *type)

/**
* memblock_insert_region - insert new memblock region
* @type: memblock type to insert into
* @idx: index for the insertion point
* @base: base address of the new region
* @size: size of the new region
* @type: memblock type to insert into
* @idx: index for the insertion point
* @base: base address 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.
* @type must already have extra room to accomodate the new region.
Expand Down

0 comments on commit 209ff86

Please sign in to comment.