X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-linux.git;a=blobdiff_plain;f=mm%2Fmemory_hotplug.c;h=67d488ab495e57b9018484932e135078c787903c;hp=0780d118d26e70d5cfc3a3e67ceca4915684a003;hb=2d4de05aac6be83cf69b7ec29244d10ec1dd8701;hpb=21f4b9bb10f19fd8f50b00954a09341b1c604fdc diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 0780d118d26e..67d488ab495e 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -339,8 +339,8 @@ static int __ref ensure_zone_is_initialized(struct zone *zone, unsigned long start_pfn, unsigned long num_pages) { if (!zone_is_initialized(zone)) - return init_currently_empty_zone(zone, start_pfn, num_pages, - MEMMAP_HOTPLUG); + return init_currently_empty_zone(zone, start_pfn, num_pages); + return 0; }