Re: [PATCH] 2.6.17-rc1-mm2/ia64 compile acpi_memhotplug as modulefix.

From: KAMEZAWA Hiroyuki
Date: Mon Apr 10 2006 - 05:31:18 EST


sorry...EXPORT_SYMBOL_GPL is better.

-Kame


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


Signed-Off-By: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/