linux-stable/arch/ia64
Randy Dunlap 2f91772a5f ia64: export memory_add_physaddr_to_nid to fix cxl build error
[ Upstream commit 97c318bfbe ]

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: 8c2676a587 ("hot-add-mem x86_64: memory_add_physaddr_to_nid node fixup")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Ben Widawsky <bwidawsk@kernel.org>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: linux-ia64@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Keith Mannthey <kmannth@us.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-24 09:57:25 +02:00
..
configs arch: Remove references to CONFIG_NFSD_V3 in the default configs 2022-03-11 10:25:16 -05:00
hp/common ia64/sba_iommu: return error code from sba_map_sg_attrs() 2021-08-09 17:13:05 +02:00
include ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr() 2022-08-17 15:13:56 +02:00
kernel Bitmap patches for 5.19-rc1 2022-06-04 14:04:27 -07:00
lib Merge branch 'work.csum_and_copy' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-10-12 16:24:13 -07:00
mm ia64: export memory_add_physaddr_to_nid to fix cxl build error 2022-10-24 09:57:25 +02:00
pci PCI/sysfs: Find shadow ROM before static attribute initialization 2022-01-26 10:41:21 -06:00
scripts kbuild: remove PYTHON variable 2021-02-01 10:37:19 +09:00
uv
Kbuild ia64: move core-y in arch/ia64/Makefile to arch/ia64/Kbuild 2021-09-03 08:17:20 +09:00
Kconfig powerpc updates for 5.18 2022-03-25 09:39:36 -07:00
Kconfig.debug ia64: don't do IA64_CMPXCHG_DEBUG without CONFIG_PRINTK 2021-10-04 10:45:58 +02:00
Makefile kbuild: factor out the common installation code into scripts/install.sh 2022-05-11 21:45:53 +09:00
install.sh kbuild: factor out the common installation code into scripts/install.sh 2022-05-11 21:45:53 +09:00