firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-include_linux_huge_mm...

13 lines
635 B
Diff

diff -drupN a/include/linux/huge_mm.h b/include/linux/huge_mm.h
--- a/include/linux/huge_mm.h 2018-08-06 17:23:04.000000000 +0300
+++ b/include/linux/huge_mm.h 2022-06-12 05:28:14.000000000 +0300
@@ -22,7 +22,7 @@ extern int mincore_huge_pmd(struct vm_ar
unsigned char *vec);
extern bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr,
unsigned long new_addr, unsigned long old_end,
- pmd_t *old_pmd, pmd_t *new_pmd, bool *need_flush);
+ pmd_t *old_pmd, pmd_t *new_pmd);
extern int change_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
unsigned long addr, pgprot_t newprot,
int prot_numa);