Re: mmotm on powerpc: walk_memory_resource?

From: KAMEZAWA Hiroyuki
Date: Tue Sep 15 2009 - 19:55:39 EST


On Tue, 15 Sep 2009 22:36:26 +0100 (BST)
Hugh Dickins <hugh.dickins@xxxxxxxxxxxxx> wrote:

> Recent mmotm builds on powerpc have been failing with
>
> arch/powerpc/mm/mem.c:169: error: ‘walk_memory_resource’ undeclared here (not in a function)
> cc1: warnings being treated as errors
> arch/powerpc/mm/mem.c:169: error: type defaults to ‘int’ in declaration of ‘walk_memory_resource’
> make[1]: *** [arch/powerpc/mm/mem.o] Error 1
>
> because walk-system-ram-range.patch renames walk_memory_resource()
> but leaves the EXPORT_SYMBOL_GPL(walk_memory_resource). I couldn't
> tell from the patch description whether it's a matter of changing
> the EXPORT_SYMBOL_GPL or removing the patch to arch/powerpc/mm/mem.c
> or something else. (I change the EXPORT to get my build working,
> but there appears to be something in drivers/infiniband which still
> wants a walk_memory_resource.)
>

Very sorry..my mistake. Will fix it immedieately.

-Kame

> Hugh

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/