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-Tag: upstream/snapshot3+hdmi~40409 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad8f5797302ed389476debcc51b4630f387618b9;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 ae6534a..3df1371 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) {