提交 412d0008 编写于 作者: A Alexander Kuleshov 提交者: Linus Torvalds
上级 1e185736
...@@ -482,7 +482,7 @@ static void __init_memblock memblock_merge_regions(struct memblock_type *type) ...@@ -482,7 +482,7 @@ static void __init_memblock memblock_merge_regions(struct memblock_type *type)
* @flags: flags of the new region * @flags: flags 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 accommodate the new region.
*/ */
static void __init_memblock memblock_insert_region(struct memblock_type *type, static void __init_memblock memblock_insert_region(struct memblock_type *type,
int idx, phys_addr_t base, int idx, phys_addr_t base,
...@@ -544,7 +544,7 @@ int __init_memblock memblock_add_range(struct memblock_type *type, ...@@ -544,7 +544,7 @@ int __init_memblock memblock_add_range(struct memblock_type *type,
/* /*
* The following is executed twice. Once with %false @insert and * The following is executed twice. Once with %false @insert and
* then with %true. The first counts the number of regions needed * then with %true. The first counts the number of regions needed
* to accomodate the new area. The second actually inserts them. * to accommodate the new area. The second actually inserts them.
*/ */
base = obase; base = obase;
nr_new = 0; nr_new = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册