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

Johannes Weiner
2014-10-16T13:40:29Z

On Thu, Oct 16, 2014 at 03:56:57PM +1100, Stephen Rothwell wrote:
> Hi Andrew,
>
> After merging the akpm tree, today's linux-next build (powerpc
> allyesconfig) failed like this:

[...]

> include/linux/page_counter.h:19:27: error: 'LONG_MAX' undeclared (first use in this function)
> include/linux/page_counter.h:19:38: error: 'PAGE_SIZE' undeclared (first use in this function)

[...]

> Caused by commit 36a1bfb2a772 ("mm: memcontrol: lockless page
> counters"). See Rule 1 in Documentation/SubmitChecklist.

I'll be in the corner.

> I have added the following patch for today:
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Thu, 16 Oct 2014 15:49:08 +1100
> Subject: [PATCH] mm: memcontrol: add includes for page_counter.h
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

Thanks, Stephen. I just sent a similar patch in reply to Fengguang's
build bot, either version should do.