Re: [PATCH] typo in i386/init.c [BugMe #6538]

From: Dave Hansen
Date: Tue May 16 2006 - 13:35:10 EST


On Tue, 2006-05-16 at 10:24 -0700, Andrew Morton wrote:
> And partly because, well, just look at the patch. It will give the kernel
> new global symbols add_memory() and remove_memory(). So how come it links
> OK at present?

It links OK now with normal configurations, because nobody references
add/remove_memory() unless MEMORY_HOTPLUG is enabled. The user in the
bug report

http://bugme.osdl.org/show_bug.cgi?id=6538

managed to enable sparsemem and memory hotplug. The generic hotplug
code referenced those symbols, and they got a link error.

-- Dave

-
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/