[PATCH] build fix CONFIG_MEMORY_HOTPLUG=y on i386

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-Kame
==
typo in #ifdefs

Signed-Off-By: KAMEZAWA Hiroyuki <[email protected]>

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux