aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-02-16 15:31:38 +1100
committerMatthew Wilcox (Oracle) <[email protected]>2022-03-03 12:47:33 -0500
commitd90a25f86dc83df9ce7f1446372cda8029e87f7c (patch)
tree6dd9423ea76c7042ac9d9d105b0acc765024a993
parent76cbbead253ddcae9878be0d702208bb1e4fac6f (diff)
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/[email protected] Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Alistair Popple <[email protected]> Tested-by: "Sierra Guiza, Alejandro (Alex)" <[email protected]> Cc: Alex Deucher <[email protected]> Cc: Ben Skeggs <[email protected]> Cc: Chaitanya Kulkarni <[email protected]> Cc: Christian Knig <[email protected]> Cc: Dan Williams <[email protected]> Cc: Felix Kuehling <[email protected]> Cc: Jason Gunthorpe <[email protected]> Cc: Karol Herbst <[email protected]> Cc: Logan Gunthorpe <[email protected]> Cc: Lyude Paul <[email protected]> Cc: Miaohe Lin <[email protected]> Cc: Muchun Song <[email protected]> Cc: "Pan, Xinhui" <[email protected]> Cc: Ralph Campbell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
-rw-r--r--mm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 6391d8d3a616..95d4aa3acaef 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