aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kuleshov <kuleshovmail@gmail.com>2016-08-04 18:31:46 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2016-08-04 20:02:09 -0400
commit412d0008d69ce964ac60ac9da714edb40bbae244 (patch)
tree138bf2342f3c46a4018e41283ef062f2b44709d9
parent1e185736d21448f986ff338ce116e20260ffe03c (diff)
mm/memblock: fix a typo in a comment
s/accomodate/accommodate/ Link: http://lkml.kernel.org/r/20160804121824.18100-1-kuleshovmail@gmail.com Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/memblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memblock.c b/mm/memblock.c
index ff5ff3b5f1ea..1f065da87327 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -482,7 +482,7 @@ static void __init_memblock memblock_merge_regions(struct memblock_type *type)
482 * @flags: flags of the new region 482 * @flags: flags of the new region
483 * 483 *
484 * Insert new memblock region [@base,@base+@size) into @type at @idx. 484 * Insert new memblock region [@base,@base+@size) into @type at @idx.
485 * @type must already have extra room to accomodate the new region. 485 * @type must already have extra room to accommodate the new region.
486 */ 486 */
487static void __init_memblock memblock_insert_region(struct memblock_type *type, 487static void __init_memblock memblock_insert_region(struct memblock_type *type,
488 int idx, phys_addr_t base, 488 int idx, phys_addr_t base,
@@ -544,7 +544,7 @@ repeat:
544 /* 544 /*
545 * The following is executed twice. Once with %false @insert and 545 * The following is executed twice. Once with %false @insert and
546 * then with %true. The first counts the number of regions needed 546 * then with %true. The first counts the number of regions needed
547 * to accomodate the new area. The second actually inserts them. 547 * to accommodate the new area. The second actually inserts them.
548 */ 548 */
549 base = obase; 549 base = obase;
550 nr_new = 0; 550 nr_new = 0;