From: KAMEZAWA Hiroyuki Date: Sat, 20 May 2006 22:00:03 +0000 (-0700) Subject: [PATCH] build fix: CONFIG_MEMORY_HOTPLUG=y on i386 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ad8f5797302ed389476debcc51b4630f387618b9;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] build fix: CONFIG_MEMORY_HOTPLUG=y on i386 typo in #ifdefs. Fixes http://bugme.osdl.org/show_bug.cgi?id=6538 Signed-off-by: KAMEZAWA Hiroyuki Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c index ae6534ad8161..3df1371d4520 100644 --- a/arch/i386/mm/init.c +++ b/arch/i386/mm/init.c @@ -651,7 +651,7 @@ void __init mem_init(void) * Specifically, in the case of x86, we will always add * memory to the highmem for now. */ -#ifdef CONFIG_HOTPLUG_MEMORY +#ifdef CONFIG_MEMORY_HOTPLUG #ifndef CONFIG_NEED_MULTIPLE_NODES int add_memory(u64 start, u64 size) {