From: Andrew Morton Date: Thu, 9 Oct 2025 04:10:01 +0000 (-0700) Subject: mm-khugepaged-unify-pmd-folio-installation-with-map_anon_folio_pmd-fix X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2f63de4a87e7264c3e69a33dbc54df2deb77180c;p=users%2Fjedix%2Flinux-maple.git 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 --- 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)