mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
mm: remove CONFIG_MIGRATE_VMA_HELPER
CONFIG_MIGRATE_VMA_HELPER guards helpers that are required for proper devic private memory support. Remove the option and just check for CONFIG_DEVICE_PRIVATE instead. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Tested-by: Ralph Campbell <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
This commit is contained in:
parent
06d462beb4
commit
9b2ed9cb97
3 changed files with 2 additions and 6 deletions
|
|
@ -2117,7 +2117,7 @@ out_unlock:
|
|||
|
||||
#endif /* CONFIG_NUMA */
|
||||
|
||||
#if defined(CONFIG_MIGRATE_VMA_HELPER)
|
||||
#ifdef CONFIG_DEVICE_PRIVATE
|
||||
static int migrate_vma_collect_hole(unsigned long start,
|
||||
unsigned long end,
|
||||
struct mm_walk *walk)
|
||||
|
|
@ -2942,4 +2942,4 @@ void migrate_vma_finalize(struct migrate_vma *migrate)
|
|||
}
|
||||
}
|
||||
EXPORT_SYMBOL(migrate_vma_finalize);
|
||||
#endif /* defined(MIGRATE_VMA_HELPER) */
|
||||
#endif /* CONFIG_DEVICE_PRIVATE */
|
||||
|
|
|
|||
Loading…
Reference in a new issue