Commit ad8f5797 authored by KAMEZAWA Hiroyuki's avatar KAMEZAWA Hiroyuki Committed by Linus Torvalds

[PATCH] build fix: CONFIG_MEMORY_HOTPLUG=y on i386

typo in #ifdefs.  Fixes http://bugme.osdl.org/show_bug.cgi?id=6538Signed-off-by: default avatarKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d4e9dc63
...@@ -651,7 +651,7 @@ void __init mem_init(void) ...@@ -651,7 +651,7 @@ void __init mem_init(void)
* Specifically, in the case of x86, we will always add * Specifically, in the case of x86, we will always add
* memory to the highmem for now. * memory to the highmem for now.
*/ */
#ifdef CONFIG_HOTPLUG_MEMORY #ifdef CONFIG_MEMORY_HOTPLUG
#ifndef CONFIG_NEED_MULTIPLE_NODES #ifndef CONFIG_NEED_MULTIPLE_NODES
int add_memory(u64 start, u64 size) int add_memory(u64 start, u64 size)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment