Re: [PATCH] Double check memmap is actually valid with a memmaphas unexpected holes

From: Russell King - ARM Linux
Date: Wed May 06 2009 - 15:22:12 EST


On Wed, May 06, 2009 at 03:31:00PM +0100, Mel Gorman wrote:
> On Tue, May 05, 2009 at 01:06:53PM +0200, Johannes Weiner wrote:
> > I think we also need to fix up show_mem().
>
> As it turns out, ARM has its own show_mem(). I don't see how, but ARM
> must not be using lib/show_mem.c even though it compiles it.

That happens because lib/show_mem.c is a library file, and since there
isn't an unresolved reference to show_mem in from within the object
files ld is asked to link, the version in the .a library won't be
brought in.
--
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/