Commit 9e43aa2b authored by Santosh Shilimkar's avatar Santosh Shilimkar Committed by Linus Torvalds
Browse files

mm/memory_hotplug.c: use memblock apis for early memory allocations

Correct ensure_zone_is_initialized() function description according to
the introduced memblock APIs for early memory allocations.
Signed-off-by: default avatarGrygorii Strashko <>
Signed-off-by: default avatarSantosh Shilimkar <>
Cc: "Rafael J. Wysocki" <>
Cc: Arnd Bergmann <>
Cc: Christoph Lameter <>
Cc: Greg Kroah-Hartman <>
Cc: H. Peter Anvin <>
Cc: Johannes Weiner <>
Cc: KAMEZAWA Hiroyuki <>
Cc: Konrad Rzeszutek Wilk <>
Cc: Michal Hocko <>
Cc: Paul Walmsley <>
Cc: Pavel Machek <>
Cc: Russell King <>
Cc: Tejun Heo <>
Cc: Tony Lindgren <>
Cc: Yinghai Lu <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 999c17e3
......@@ -268,7 +268,7 @@ static void fix_zone_id(struct zone *zone, unsigned long start_pfn,
/* Can fail with -ENOMEM from allocating a wait table with vmalloc() or
* alloc_bootmem_node_nopanic() */
* alloc_bootmem_node_nopanic()/memblock_virt_alloc_node_nopanic() */
static int __ref ensure_zone_is_initialized(struct zone *zone,
unsigned long start_pfn, unsigned long num_pages)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment