]> Git Repo - linux.git/commit
MIPS: Fix build error for loongson64 and sgi-ip27
authorFeiyang Chen <[email protected]>
Sat, 19 Mar 2022 09:40:02 +0000 (17:40 +0800)
committerThomas Bogendoerfer <[email protected]>
Thu, 24 Mar 2022 08:45:15 +0000 (09:45 +0100)
commitf8f9f21c7848e63133c16c899f3d84aa54eb79fe
treee460b5e67d234662989f2ab468d4df79266be1b0
parent8931ddd8d6a55fcefb20f44a38ba42bb746f0b62
MIPS: Fix build error for loongson64 and sgi-ip27

Select HAVE_ARCH_NODEDATA_EXTENSION for loongson64 to fix build error
when CONFIG_NUMA=y:

mips64el-unknown-linux-gnu-ld: mm/page_alloc.o: in function `free_area_init':
(.init.text+0x1714): undefined reference to `node_data'
mips64el-unknown-linux-gnu-ld: (.init.text+0x1730): undefined reference to `node_data'

Also, select HAVE_ARCH_NODEDATA_EXTENSION for sgi-ip27 to fix build error:

mips64el-unknown-linux-gnu-ld: mm/page_alloc.o: in function `free_area_init':
page_alloc.c:(.init.text+0x1ba8): undefined reference to `node_data'
mips64el-unknown-linux-gnu-ld: page_alloc.c:(.init.text+0x1bcc): undefined reference to `node_data'
mips64el-unknown-linux-gnu-ld: page_alloc.c:(.init.text+0x1be4): undefined reference to `node_data'
mips64el-unknown-linux-gnu-ld: page_alloc.c:(.init.text+0x1bf4): undefined reference to `node_data'

Signed-off-by: Feiyang Chen <[email protected]>
Reviewed-by: Huacai Chen <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
arch/mips/Kconfig
arch/mips/loongson64/numa.c
arch/mips/sgi-ip27/ip27-memory.c
This page took 0.05705 seconds and 4 git commands to generate.