Re: mm/sparse.c compile error ( Re: 2.6.23-rc1-mm1 )

Andy Whitcroft
2007-07-30T12:16:24Z

Andrew Morton wrote:
> On Sat, 28 Jul 2007 19:07:22 +0200 Gabriel C <nix.or.die@googlemail.com> wrote:
>
>> Hi,
>>
>> next randconfig error ( http://194.231.229.228/MM/randconfig-auto-87.mm_sparse.error )
>>
>>
>> ...
>>
>> mm/sparse.c: In function 'sparse_init':
>> mm/sparse.c:482: error: implicit declaration of function 'sparse_early_usemap_alloc'
>> mm/sparse.c:482: warning: assignment makes pointer from integer without a cast
>> make[1]: *** [mm/sparse.o] Error 1
>> make: *** [mm] Error 2
>> make: *** Waiting for unfinished jobs....
>>
>> ...
>>
>>
>> guessing while this patch , but I am not really sure :
>>
>> fix-corruption-of-memmap-on-ia64-sparsemem-when-mem_section-is-not-a-power-of-2.patch
>>
>
> That seems to have been fixed by one of the post-2.6.23-rc1-mm1 patches I merged,
> thanks.

I believe that this was fixed by a patch from Mel Gorman which I believe
merged into -mm as:

fix-corruption-of-memmap-on-ia64-sparsemem-when-mem_section-is-not-a-power-of-2-fix.patch

-apw