From: Andrew Morton Date: Tue, 4 Mar 2025 00:03:07 +0000 (-0800) Subject: mm-mremap-thread-state-through-move-page-table-operation-fix X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=85ad165891e85e4cfa73955626e0e04b018117fd;p=users%2Fjedix%2Flinux-maple.git mm-mremap-thread-state-through-move-page-table-operation-fix fix move_huge_pud() stub Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202503040759.5zpJdC2i-lkp@intel.com/ Cc: Harry Yoo Cc: Jann Horn Cc: Liam Howlett Cc: Lorenzo Stoakes Signed-off-by: Andrew Morton --- diff --git a/mm/mremap.c b/mm/mremap.c index 4b1647d32fb0..456849b9e7bd 100644 --- a/mm/mremap.c +++ b/mm/mremap.c @@ -475,8 +475,8 @@ static bool move_huge_pud(struct pagetable_move_control *pmc, return true; } #else -static bool move_huge_pud(struct vm_area_struct *vma, unsigned long old_addr, - unsigned long new_addr, pud_t *old_pud, pud_t *new_pud) +static bool move_huge_pud(struct pagetable_move_control *pmc, + pud_t *old_pud, pud_t *new_pud) { WARN_ON_ONCE(1); return false;