[PATCH] 2.6.17-rc1-mm2/ia64 compile acpi_memhotplug as module fix.

[PATCH] 2.6.17-rc1-mm2/ia64 compile acpi_memhotplug as module fix.

Post by KAMEZAWA H » Tue, 11 Apr 2006 18:40:12


sorry...EXPORT_SYMBOL_GPL is better.

-Kame


This export was necessary to compile acpi_memhotplug.c as module.


Signed-Off-By: KAMEZAWA Hiroyuki < XXXX@XXXXX.COM >
Index: linux-2.6.17-rc1-mm2/arch/ia64/mm/init.c
===================================================================
--- linux-2.6.17-rc1-mm2.orig/arch/ia64/mm/init.c 2006-04-10 18:09:39.000000000 +0900
+++ linux-2.6.17-rc1-mm2/arch/ia64/mm/init.c 2006-04-10 18:23:38.000000000 +0900
@@ -671,9 +671,11 @@

return ret;
}
+EXPORT_SYMBOL_GPL(add_memory);

int remove_memory(u64 start, u64 size)
{
return -EINVAL;
}
+EXPORT_SYMBOL_GPL(remove_memory);
#endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/