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'
* Randy Dunlap (rdunlap@xenotime.net) wrote:
> 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.

Yes it does (build tested only); thank you for the pointer.

Dave
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ gro.gilbert @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/


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