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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sorry...EXPORT_SYMBOL_GPL is better.

-Kame


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


Signed-Off-By: KAMEZAWA Hiroyuki <[email protected]>
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux