On Thu, Jul 26, 2018 at 12:01:44AM +0200, osalvador@xxxxxxxxxxxxxxxxxx wrote: > extern void free_initmem(void); > +extern void free_area_init_core_hotplug(int nid); The declaration should be wrapped with an #ifdef CONFIG_MEMORY_HOTPLUG. > +void __paginginit free_area_init_core_hotplug(int nid) > +{ > + enum zone_type j; > + pg_data_t *pgdat = NODE_DATA(nid); > + > + pgdat_init_internals(pgdat); > + for(j = 0; j < MAX_NR_ZONES; j++) { > + struct zone *zone = pgdat->node_zones + j; > + zone_init_internals(zone, j, nid, 0); > + } > +} The same applies here -- Oscar Salvador SUSE L3