Patch "ia64: export memory_add_physaddr_to_nid to fix cxl build error" has been added to the 5.10-stable tree

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

 



This is a note to let you know that I've just added the patch titled

    ia64: export memory_add_physaddr_to_nid to fix cxl build error

to the 5.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     ia64-export-memory_add_physaddr_to_nid-to-fix-cxl-bu.patch
and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit e0f37e8a99f986e38fb79aae5189d3ccfd584e90
Author: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Date:   Sat Sep 10 18:26:16 2022 -0700

    ia64: export memory_add_physaddr_to_nid to fix cxl build error
    
    [ Upstream commit 97c318bfbe84efded246e80428054f300042f110 ]
    
    cxl_pmem.ko uses memory_add_physaddr_to_nid() but ia64 does not export it,
    so this causes a build error:
    
    ERROR: modpost: "memory_add_physaddr_to_nid" [drivers/cxl/cxl_pmem.ko] undefined!
    
    Fix this by exporting that function.
    
    Fixes: 8c2676a5870a ("hot-add-mem x86_64: memory_add_physaddr_to_nid node fixup")
    Reported-by: kernel test robot <lkp@xxxxxxxxx>
    Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
    Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
    Cc: Ben Widawsky <bwidawsk@xxxxxxxxxx>
    Cc: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
    Cc: linux-ia64@xxxxxxxxxxxxxxx
    Cc: Arnd Bergmann <arnd@xxxxxxxx>
    Cc: Keith Mannthey <kmannth@xxxxxxxxxx>
    Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/ia64/mm/numa.c b/arch/ia64/mm/numa.c
index f34964271101..6cd002e8163d 100644
--- a/arch/ia64/mm/numa.c
+++ b/arch/ia64/mm/numa.c
@@ -106,5 +106,6 @@ int memory_add_physaddr_to_nid(u64 addr)
 		return 0;
 	return nid;
 }
+EXPORT_SYMBOL(memory_add_physaddr_to_nid);
 #endif
 #endif



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux