mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
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:
parent
f2f8d7326a
commit
167612c1d4
|
|
@ -5498,7 +5498,7 @@ int huge_pmd_unshare(struct mm_struct *mm, struct vm_area_struct *vma,
|
||||||
}
|
}
|
||||||
|
|
||||||
#else /* !CONFIG_ARCH_WANT_HUGE_PMD_SHARE */
|
#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)
|
unsigned long addr, pud_t *pud)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user