From 2f63de4a87e7264c3e69a33dbc54df2deb77180c Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 8 Oct 2025 21:10:01 -0700 Subject: [PATCH] mm-khugepaged-unify-pmd-folio-installation-with-map_anon_folio_pmd-fix remove unneeded map_anon_folio_pmd_nopf() stub, per Wei & David Cc: David Hildenbrand Cc: Dev Jain Cc: Lance Yang Cc: Matthew Wilcox Cc: Usama Arif Cc: Wei Yang Cc: Zi Yan Signed-off-by: Andrew Morton --- include/linux/huge_mm.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/linux/huge_mm.h b/include/linux/huge_mm.h index b01e86775301..396d9e3d1d46 100644 --- a/include/linux/huge_mm.h +++ b/include/linux/huge_mm.h @@ -631,11 +631,6 @@ static inline bool unmap_huge_pmd_locked(struct vm_area_struct *vma, return false; } -static inline void map_anon_folio_pmd_nopf(struct folio *folio, pmd_t *pmd, - struct vm_area_struct *vma, unsigned long haddr) -{ -} - #define split_huge_pud(__vma, __pmd, __address) \ do { } while (0) -- 2.51.0