Skip to content

Commit cd7a565

Browse files
t-8chtorvalds
authored andcommitted
alpha: add missing address argument in call to page_table_check_pte_clear()
After the merge of the alpha and mm trees, this code does not compile, as a parameter is missing in a call to page_table_check_pte_clear(). The parameter was re-added in commit d7b4b67 ("mm/page_table_check: reinstate address parameter in [__]page_table_check_pte_clear()"). The alpha-specific code was newly added in commit dd5712f ("alpha: fix user-space corruption during memory compaction"). Fixes: 4cff5c0 ("Merge tag 'mm-stable-2026-02-11-19-22' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm") Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Acked-by: Magnus Lindholm <linmag7@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent cee73b1 commit cd7a565

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/alpha/include/asm/pgtable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ static inline pte_t ptep_clear_flush(struct vm_area_struct *vma,
289289
struct mm_struct *mm = vma->vm_mm;
290290
pte_t pte = ptep_get_and_clear(mm, addr, ptep);
291291

292-
page_table_check_pte_clear(mm, pte);
292+
page_table_check_pte_clear(mm, addr, pte);
293293
migrate_flush_tlb_page(vma, addr);
294294
return pte;
295295
}

0 commit comments

Comments
 (0)