Re: mmotm 2014-09-22-16-57 uploaded

From: Naoya Horiguchi
Date: Wed Sep 24 2014 - 10:29:11 EST


On Tue, Sep 23, 2014 at 01:01:28PM -0700, Andrew Morton wrote:
> On Tue, 23 Sep 2014 12:02:22 -0700 Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
...
> >
> > arch/powerpc/mm/hugetlbpage.c:710:1: error: conflicting types for 'follow_huge_pud'
> > follow_huge_pud(struct mm_struct *mm, unsigned long address,
> > ^
> > In file included from arch/powerpc/mm/hugetlbpage.c:14:0: include/linux/hugetlb.h:103:14:
> > note: previous declaration of 'follow_huge_pud' was here
> > struct page *follow_huge_pud(struct mm_struct *mm, unsigned long address,
> ^
>
> Naoya, please check:
>
> --- a/arch/powerpc/mm/hugetlbpage.c~mm-hugetlb-reduce-arch-dependent-code-around-follow_huge_-fix
> +++ a/arch/powerpc/mm/hugetlbpage.c
> @@ -708,7 +708,7 @@ follow_huge_pmd(struct mm_struct *mm, un
>
> struct page *
> follow_huge_pud(struct mm_struct *mm, unsigned long address,
> - pmd_t *pmd, int write)
> + pud_t *pud, int write)
> {
> BUG();
> return NULL;
> _

Yes, this is a right fix. Thanks.

Naoya
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/