• Feiyang Chen's avatar
    MIPS: Fix build error for loongson64 and sgi-ip27 · f8f9f21c
    Feiyang Chen authored
    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: default avatarFeiyang Chen <chenfeiyang@loongson.cn>
    Reviewed-by: default avatarHuacai Chen <chenhuacai@kernel.org>
    Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
    f8f9f21c
numa.c 5.33 KB