lkml.org 
[lkml]   [2011]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 37573e8c (cgroup fix) causing implicit declaration of function 'node_start_pfn'
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@jp.fujitsu.com>
> Date: Wed Jun 15 15:08:42 2011 -0700
>
> memcg: fix init_page_cgroup nid with sparsemem

Please see if http://marc.info/?l=linux-kernel&m=130827204306775&w=2
fixes it for you.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***


\
 
 \ /
  Last update: 2011-06-19 19:59    [W:0.363 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site