]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm-mremap-thread-state-through-move-page-table-operation-fix
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 4 Mar 2025 00:03:07 +0000 (16:03 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 4 Mar 2025 05:50:50 +0000 (21:50 -0800)
fix move_huge_pud() stub

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503040759.5zpJdC2i-lkp@intel.com/
Cc: Harry Yoo <harry.yoo@oracle.com>
Cc: Jann Horn <jannh@google.com>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mremap.c

index 4b1647d32fb03b78f7033afe2767cc49598c77b5..456849b9e7bdba1a81ff8cdddaa280135d5cc97b 100644 (file)
@@ -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;