]> git.baikalelectronics.ru Git - kernel.git/commit
mm: rename memmap_init() and memmap_init_zone()
authorBaoquan He <bhe@redhat.com>
Wed, 24 Feb 2021 20:06:14 +0000 (12:06 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Feb 2021 21:38:31 +0000 (13:38 -0800)
commit10dc97dde33c62bc36136cdd371257d71075dcc0
tree7a748a3f320c1134571ea2897194cd8269ee9736
parent05ca14ee0e304110426ffb8ab6377a1f33e8a1a6
mm: rename memmap_init() and memmap_init_zone()

The current memmap_init_zone() only handles memory region inside one zone,
actually memmap_init() does the memmap init of one zone.  So rename both
of them accordingly.

Link: https://lkml.kernel.org/r/20210122135956.5946-3-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/mm/init.c
include/linux/mm.h
mm/memory_hotplug.c
mm/page_alloc.c