[PATCH][2.6.24-rc2-mm1] memory hotplug x86_64 fix [1/3]memory_add_physaddr_to_nid export for acpi memhotplug.ko

From: KAMEZAWA Hiroyuki
Date: Thu Nov 15 2007 - 05:32:29 EST



Fix following reference error (when CONFIG_ACPI_HOTPLUG_MEMORY=m)

==
ERROR: "memory_add_physaddr_to_nid" [drivers/acpi/acpi_memhotplug.ko]
undefined!
==

Changelog:
- EXPORT_SYMBOL to EXPORT_SYMBOL_GPL.


Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

arch/x86/mm/srat_64.c | 1 +
1 file changed, 1 insertion(+)

Index: linux-2.6.24-rc2-mm1/arch/x86/mm/srat_64.c
===================================================================
--- linux-2.6.24-rc2-mm1.orig/arch/x86/mm/srat_64.c
+++ linux-2.6.24-rc2-mm1/arch/x86/mm/srat_64.c
@@ -562,3 +562,4 @@ int memory_add_physaddr_to_nid(u64 start
return ret;
}

+EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);


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