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 <lokeshgidra@google.com>
Bug: 160737021
Bug: 169683130
Change-Id: I110563bc38e60a829fe7808f69dc0aa0f203a50e
This commit is contained in:
Lokesh Gidra 2021-05-21 10:17:36 -07:00 committed by Suren Baghdasaryan
parent f2f8d7326a
commit 167612c1d4

View File

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