Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 801da2ad authored by Lokesh Gidra's avatar Lokesh Gidra Committed by Michael Bestas
Browse files

ANDROID: Fix compilation error with huge_pmd_share()



There was an asterisk missing for one of the function parameters in the
upstreamed patch.

Fixes: e8ba376301a36 ("BACKPORT: FROMGIT: hugetlb: pass vma into
huge_pte_alloc() and huge_pmd_share()")

Signed-off-by: default avatarLokesh Gidra <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I110563bc38e60a829fe7808f69dc0aa0f203a50e
parent 822149ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5085,7 +5085,7 @@ int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep)
}

#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;