lkml.org 
[lkml]   [2008]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] mm/hugetlb.c: fix build failure
On 7/25/08, Ingo Molnar <mingo@elte.hu> wrote:
>
> * Ingo Molnar <mingo@elte.hu> wrote:
>
> > on !CONFIG_SYSCTL on x86 with latest -git i get:
> >
> > mm/hugetlb.c: In function 'decrement_hugepage_resv_vma':
> > mm/hugetlb.c:83: error: 'reserve' undeclared (first use in this function)
> > mm/hugetlb.c:83: error: (Each undeclared identifier is reported only once
> > mm/hugetlb.c:83: error: for each function it appears in.)
>
>
> the above build error came from a bisection run, the fix i sent was for
> this build error:
>
> mm/hugetlb.c: In function 'hugetlb_acct_memory': mm/hugetlb.c:1507:
> error: implicit declaration of function 'cpuset_mems_nr'
>
> but i also get a second hugetlb build failure on 64-bit x86:
>
> arch/x86/mm/built-in.o: In function `setup_hugepagesz':
> hugetlbpage.c:(.init.text+0xb49): undefined reference to `hugetlb_add_hstate'
>
> fixed by the patch below.

Both issues (I expect) will be fixed by:
http://marc.info/?l=linux-kernel&m=121700986003238&w=2. Could you
test?

Thanks,
Nish


\
 
 \ /
  Last update: 2008-07-25 22:33    [W:0.041 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site