Re: linux-next: build failure after merge of the akpm-current tree

From: Andrew Morton
Date: Wed Oct 21 2015 - 02:46:33 EST


On Wed, 21 Oct 2015 17:34:38 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> Hi Andrew,
>
> After merging the akpm-current tree, today's linux-next build (arm
> allnoconfig and others) failed like this:
>
> In file included from init/main.c:50:0:
> include/linux/rmap.h:274:1: error: expected declaration specifiers or '...' before '{' token
>
> Caused by commit
>
> e4f28388eb72 ("mm: simplify reclaim path for MADV_FREE")
>
> Discovered after the linux-next release.

argh, we broke nommu.

--- a/include/linux/rmap.h~mm-dont-split-thp-page-when-syscall-is-called-fix-6-fix
+++ a/include/linux/rmap.h
@@ -270,7 +270,7 @@ int rmap_walk(struct page *page, struct

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;

--
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/