From: Minchan Kim <minchan@kernel.org>
To: Guenter Roeck <linux@roeck-us.net>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] mm: Fix build on non-MMU systems
Date: Thu, 22 Oct 2015 09:07:56 +0900 [thread overview]
Message-ID: <20151022000756.GE23631@bbox> (raw)
In-Reply-To: <1445436023-13028-1-git-send-email-linux@roeck-us.net>
Hello,
Andrew already had a fix.
Thanks for the report!
On Wed, Oct 21, 2015 at 07:00:23AM -0700, Guenter Roeck wrote:
> Non-MMU systems fail to build with
>
> In file included from init/main.c:50:0:
> include/linux/rmap.h:274:1: error:
> expected declaration specifiers or ‘...’ before ‘{’ token
>
> Fixes: c3f568752340 ("mm: support madvise(MADV_FREE)")
> Cc: Minchan Kim <minchan@kernel.org>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> include/linux/rmap.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/rmap.h b/include/linux/rmap.h
> index 978f65066fd5..853f4f3c6742 100644
> --- a/include/linux/rmap.h
> +++ b/include/linux/rmap.h
> @@ -270,7 +270,7 @@ int rmap_walk(struct page *page, struct rmap_walk_control *rwc);
>
> static inline int page_referenced(struct page *page, int is_locked,
> struct mem_cgroup *memcg,
> - unsigned long *vm_flags,
> + unsigned long *vm_flags)
> {
> *vm_flags = 0;
> return 0;
> --
> 2.1.4
>
prev parent reply other threads:[~2015-10-22 0:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-21 14:00 [PATCH -next] mm: Fix build on non-MMU systems Guenter Roeck
2015-10-22 0:07 ` Minchan Kim [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=20151022000756.GE23631@bbox \
--to=minchan@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
/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;
as well as URLs for NNTP newsgroup(s).