+ hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup-fix-2.patch added to -mm tree

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

 



The patch titled

     hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup-fix-2

has been added to the -mm tree.  Its filename is

     hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup-fix-2.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup-fix-2
From: Yasunori Goto <y-goto@xxxxxxxxxxxxxx>

EXPORT_SYMBOL_GPL is necessary for memory_add_physaddr_to_nid().
Because acpi_memhotplug.c which uses it can be compiled as a kernel module.

Signed-off-by: Yasunori Goto <y-goto@xxxxxxxxxxxxxx>
Cc: Keith Mannthey <kmannth@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---


diff -puN arch/ia64/mm/numa.c~hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup-fix-2 arch/ia64/mm/numa.c
--- a/arch/ia64/mm/numa.c~hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup-fix-2
+++ a/arch/ia64/mm/numa.c
@@ -16,6 +16,7 @@
 #include <linux/node.h>
 #include <linux/init.h>
 #include <linux/bootmem.h>
+#include <linux/module.h>
 #include <asm/mmzone.h>
 #include <asm/numa.h>
 
@@ -84,5 +85,6 @@ int memory_add_physaddr_to_nid(u64 addr)
 	return nid;
 }
 
+EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
 #endif
 #endif
diff -puN arch/x86_64/mm/init.c~hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup-fix-2 arch/x86_64/mm/init.c
--- a/arch/x86_64/mm/init.c~hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup-fix-2
+++ a/arch/x86_64/mm/init.c
@@ -552,6 +552,7 @@ int memory_add_physaddr_to_nid(u64 start
 {
 	return 0;
 }
+EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
 #endif
 
 #else /* CONFIG_MEMORY_HOTPLUG */
diff -puN arch/x86_64/mm/srat.c~hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup-fix-2 arch/x86_64/mm/srat.c
--- a/arch/x86_64/mm/srat.c~hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup-fix-2
+++ a/arch/x86_64/mm/srat.c
@@ -470,3 +470,5 @@ int memory_add_physaddr_to_nid(u64 start
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
+
_

Patches currently in -mm which might be from y-goto@xxxxxxxxxxxxxx are

hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup-fix-2.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux