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

From: Johannes Weiner
Date: Thu Oct 16 2014 - 09:40:33 EST


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@xxxxxxxxxxxxxxxx>
> 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@xxxxxxxxxxxxxxxx>

Thanks, Stephen. I just sent a similar patch in reply to Fengguang's
build bot, either version should do.
--
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/