VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Dan Williams <dan.j.williams@intel.com> 2020-11-21 22:17:05 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-11-22 10:48:22 -0800 commit: a927bd6ba952d13c52b8b385030943032f659a3e parent: bc2dc4406c463174613047d8b7946e12c8808cda
Commit Summary:
mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exports
Diffstat:
1 file changed, 5 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/sparsemem.h b/arch/ia64/include/asm/sparsemem.h
index 336d0570e1fa..dd8c166ffd7b 100644
--- a/arch/ia64/include/asm/sparsemem.h
+++ b/arch/ia64/include/asm/sparsemem.h
@@ -18,4 +18,10 @@
 #endif
 
 #endif /* CONFIG_SPARSEMEM */
+
+#ifdef CONFIG_MEMORY_HOTPLUG
+int memory_add_physaddr_to_nid(u64 addr);
+#define memory_add_physaddr_to_nid memory_add_physaddr_to_nid
+#endif
+
 #endif /* _ASM_IA64_SPARSEMEM_H */