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)
commitab28cb6e1e5e59eb8bf3ad399133617414301d3a
tree7a748a3f320c1134571ea2897194cd8269ee9736
parent93f503c3fcd168a43e4a6c875fe2cfafaf8439dc
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