From 167612c1d4a2b90c0b19642812f401c0e9ef13dc Mon Sep 17 00:00:00 2001 From: Lokesh Gidra Date: Fri, 21 May 2021 10:17:36 -0700 Subject: [PATCH] ANDROID: Fix compilation error with huge_pmd_share() There was an asterisk missing for one of the function parameters in the upstreamed patch. Fixes: 59caf93f36 ("BACKPORT: FROMGIT: hugetlb: pass vma into huge_pte_alloc() and huge_pmd_share()") Signed-off-by: Lokesh Gidra Bug: 160737021 Bug: 169683130 Change-Id: I110563bc38e60a829fe7808f69dc0aa0f203a50e --- mm/hugetlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index c1e7498331ae..7dc559676633 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -5498,7 +5498,7 @@ int huge_pmd_unshare(struct mm_struct *mm, struct vm_area_struct *vma, } #else /* !CONFIG_ARCH_WANT_HUGE_PMD_SHARE */ -pte_t *huge_pmd_share(struct mm_struct *mm, struct vm_area_struct vma, +pte_t *huge_pmd_share(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long addr, pud_t *pud) { return NULL;