lkml.org 
[lkml]   [2006]   [Apr]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 10 Apr 2006 15:28:02 +0900
FromKAMEZAWA Hiroyuki <>
Subject[PATCH] build fix CONFIG_MEMORY_HOTPLUG=y on i386
#ifdef is wrong. (2.6.17-rc1-mm2)

-Kame
==
typo in #ifdefs

Signed-Off-By: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-10 06:29    [from the cache]
©2003-2008