From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Michel Lespinasse <walken@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-next@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [next:akpm 157/313] arch/tile/mm/hugetlbpage.c:256:20: error: 'mm' undeclared
Date: Mon, 12 Nov 2012 10:43:50 +1100 [thread overview]
Message-ID: <20121112104350.f173bba176ed68e27f9df564@canb.auug.org.au> (raw)
In-Reply-To: <20121109062249.GB7022@google.com>
[-- 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 --]
prev parent reply other threads:[~2012-11-12 3:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <509c99fa.8Yp/oQzMiknhbdrT%fengguang.wu@intel.com>
2012-11-09 6:22 ` Michel Lespinasse
2012-11-11 23:43 ` Stephen Rothwell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121112104350.f173bba176ed68e27f9df564@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=walken@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®