Re: 37573e8c (cgroup fix) causing implicit declaration of function'node_start_pfn'

From: Randy Dunlap
Date: Sun Jun 19 2011 - 13:54:37 EST

On Sun, 19 Jun 2011 16:12:14 +0100 Dr. David Alan Gilbert wrote:

> Hi,
> The current git head is failing to build for me with:
> mm/page_cgroup.c: In function 'page_cgroup_init':
> mm/page_cgroup.c:308:3: error: implicit declaration of function 'node_start_pfn'
> mm/page_cgroup.c:309:3: error: implicit declaration of function 'node_end_pfn'
> this is for a very basic 32bit x86 build, and it looks like
> include/asm/mmzone_32.h only defines node_start_pfn and node_end_pfn on
> CONFIG_DISCONTIGMEM - which I have off.
> The use of node_start_pfn seems to be from
> commit 37573e8c718277103f61f03741bdc5606d31b07e
> Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
> Date: Wed Jun 15 15:08:42 2011 -0700
> memcg: fix init_page_cgroup nid with sparsemem

Please see if
fixes it for you.

*** Remember to use Documentation/SubmitChecklist when testing your code ***
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at