[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121112104350.f173bba176ed68e27f9df564@canb.auug.org.au>
Date: Mon, 12 Nov 2012 10:43:50 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Michel Lespinasse <walken@...gle.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [next:akpm 157/313] arch/tile/mm/hugetlbpage.c:256:20: error:
'mm' undeclared
On Thu, 8 Nov 2012 22:22:49 -0800 Michel Lespinasse <walken@...gle.com> wrote:
>
> commit 86234092170b43771c3f6257cb320ff6e2c10c52
> Author: Michel Lespinasse <walken@...gle.com>
> Date: Thu Nov 8 22:13:58 2012 -0800
>
> fix mm: use vm_unmapped_area() in hugetlbfs on tile architecture
>
> diff --git a/arch/tile/mm/hugetlbpage.c b/arch/tile/mm/hugetlbpage.c
> index 6f74cce053e1..650ccff8378c 100644
> --- a/arch/tile/mm/hugetlbpage.c
> +++ b/arch/tile/mm/hugetlbpage.c
> @@ -253,7 +253,7 @@ static unsigned long hugetlb_get_unmapped_area_topdown(struct file *file,
> info.flags = VM_UNMAPPED_AREA_TOPDOWN;
> info.length = len;
> info.low_limit = PAGE_SIZE;
> - info.high_limit = mm->mmap_base;
> + info.high_limit = current->mm->mmap_base;
> info.align_mask = PAGE_MASK & ~huge_page_mask(h);
> info.align_offset = 0;
> addr = vm_unmapped_area(&info);
Added to the akpm tree today.
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists