From: Christoph Hellwig Date: Wed, 16 Feb 2022 04:31:38 +0000 (+1100) Subject: mm: build migrate_vma_* for all configs with ZONE_DEVICE support X-Git-Tag: v6.6.17~7962^2~86 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d90a25f86dc83df9ce7f1446372cda8029e87f7c;p=platform%2Fkernel%2Flinux-rpi.git mm: build migrate_vma_* for all configs with ZONE_DEVICE support This code will be used for device coherent memory as well in a bit, so relax the ifdef a bit. Link: https://lkml.kernel.org/r/20220210072828.2930359-15-hch@lst.de Signed-off-by: Christoph Hellwig Reviewed-by: Alistair Popple Tested-by: "Sierra Guiza, Alejandro (Alex)" Cc: Alex Deucher Cc: Ben Skeggs Cc: Chaitanya Kulkarni Cc: Christian Knig Cc: Dan Williams Cc: Felix Kuehling Cc: Jason Gunthorpe Cc: Karol Herbst Cc: Logan Gunthorpe Cc: Lyude Paul Cc: Miaohe Lin Cc: Muchun Song Cc: "Pan, Xinhui" Cc: Ralph Campbell Signed-off-by: Andrew Morton Signed-off-by: Matthew Wilcox (Oracle) --- diff --git a/mm/Kconfig b/mm/Kconfig index 6391d8d..95d4aa3 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -250,7 +250,7 @@ config MIGRATION allocation instead of reclaiming. config DEVICE_MIGRATION - def_bool MIGRATION && DEVICE_PRIVATE + def_bool MIGRATION && ZONE_DEVICE config ARCH_ENABLE_HUGEPAGE_MIGRATION bool