On Sat, Mar 19, 2022 at 05:40:02PM +0800, Feiyang Chen wrote: > 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 <chenfeiyang@xxxxxxxxxxx> > --- > arch/mips/Kconfig | 5 +++++ > arch/mips/loongson64/numa.c | 10 ++++++++++ > arch/mips/sgi-ip27/ip27-memory.c | 10 ++++++++++ > 3 files changed, 25 insertions(+) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]