Messages in this thread | | | Date | Fri, 25 Jul 2008 13:31:29 -0700 | From | "Nish Aravamudan" <> | Subject | Re: [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
| |