[PATCH] build fix CONFIG_MEMORY_HOTPLUG=y on i386

From: KAMEZAWA Hiroyuki
Date: Mon Apr 10 2006 - 02:31:27 EST


#ifdef is wrong. (2.6.17-rc1-mm2)

-Kame
==
typo in #ifdefs

Signed-Off-By: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

Index: linux-2.6.17-rc1-mm2/arch/i386/mm/init.c
===================================================================
--- linux-2.6.17-rc1-mm2.orig/arch/i386/mm/init.c
+++ linux-2.6.17-rc1-mm2/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)
{

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