* Re: [next:akpm 157/313] arch/tile/mm/hugetlbpage.c:256:20: error: 'mm' undeclared
[not found] <509c99fa.8Yp/oQzMiknhbdrT%fengguang.wu@intel.com>
@ 2012-11-09 6:22 ` Michel Lespinasse
2012-11-11 23:43 ` Stephen Rothwell
0 siblings, 1 reply; 2+ messages in thread
From: Michel Lespinasse @ 2012-11-09 6:22 UTC (permalink / raw)
To: kbuild test robot; +Cc: Andrew Morton, linux-next, linux-kernel
On Fri, Nov 09, 2012 at 01:51:54PM +0800, kbuild test robot wrote:
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm
> head: 6703d59701f7592c897b975de3952ba6bbb98b83
> commit: 921a29df6a2bab7c1bfbb11eb5648b92bdc250e8 [157/313] mm: use vm_unmapped_area() in hugetlbfs on tile architecture
> config: make ARCH=tile tilegx_defconfig
>
> All error/warnings:
>
> arch/tile/mm/hugetlbpage.c: In function 'hugetlb_get_unmapped_area_topdown':
> arch/tile/mm/hugetlbpage.c:256:20: error: 'mm' undeclared (first use in this function)
> arch/tile/mm/hugetlbpage.c:256:20: note: each undeclared identifier is reported only once for each function it appears in
commit 86234092170b43771c3f6257cb320ff6e2c10c52
Author: Michel Lespinasse <walken@google.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);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [next:akpm 157/313] arch/tile/mm/hugetlbpage.c:256:20: error: 'mm' undeclared
2012-11-09 6:22 ` [next:akpm 157/313] arch/tile/mm/hugetlbpage.c:256:20: error: 'mm' undeclared Michel Lespinasse
@ 2012-11-11 23:43 ` Stephen Rothwell
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2012-11-11 23:43 UTC (permalink / raw)
To: Michel Lespinasse; +Cc: Andrew Morton, linux-next, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 999 bytes --]
On Thu, 8 Nov 2012 22:22:49 -0800 Michel Lespinasse <walken@google.com> wrote:
>
> commit 86234092170b43771c3f6257cb320ff6e2c10c52
> Author: Michel Lespinasse <walken@google.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@canb.auug.org.au
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-11 23:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <509c99fa.8Yp/oQzMiknhbdrT%fengguang.wu@intel.com>
2012-11-09 6:22 ` [next:akpm 157/313] arch/tile/mm/hugetlbpage.c:256:20: error: 'mm' undeclared Michel Lespinasse
2012-11-11 23:43 ` Stephen Rothwell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.