Re: [PATCH -mmotm] mm/memory_hotplug: fix for CONFIG_ZONE_DEVICE not enabled

2021-01-19 Thread Dan Williams
On Tue, Jan 19, 2021 at 7:05 PM Randy Dunlap wrote: > > From: Randy Dunlap > > Fix memory_hotplug.c when CONFIG_ZONE_DEVICE is not enabled. > > Fixes this build error: > > ../mm/memory_hotplug.c: In function ‘move_pfn_range_to_zone’: > ../mm/memory_hotplug.c:772:24: error: ‘ZONE_DEVICE’ undeclare

[PATCH -mmotm] mm/memory_hotplug: fix for CONFIG_ZONE_DEVICE not enabled

2021-01-19 Thread Randy Dunlap
From: Randy Dunlap Fix memory_hotplug.c when CONFIG_ZONE_DEVICE is not enabled. Fixes this build error: ../mm/memory_hotplug.c: In function ‘move_pfn_range_to_zone’: ../mm/memory_hotplug.c:772:24: error: ‘ZONE_DEVICE’ undeclared (first use in this function); did you mean ‘ZONE_MOVABLE’? if (