2006-05-13 15:49:15

by Nishanth Aravamudan

[permalink] [raw]
Subject: [PATCH] typo in i386/init.c [BugMe #6538]

Hi Andrew,

Description: Fix a small typo in arch/i386/mm/init.c. Confirmed to fix
BugMe #6538.

Signed-off-by: Nishanth Aravamudan <[email protected]>

diff -urpN 2.6.17-rc4/arch/i386/mm/init.c 2.6.17-rc4-dev/arch/i386/mm/init.c
--- 2.6.17-rc4/arch/i386/mm/init.c 2006-05-12 10:26:59.000000000 -0700
+++ 2.6.17-rc4-dev/arch/i386/mm/init.c 2006-05-12 13:49:38.000000000 -0700
@@ -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)
{

--
Nishanth Aravamudan <[email protected]>
IBM Linux Technology Center