# \[linux-next:master 3118/12657\] page\_alloc.c:undefined reference to \`node\_reclaim\_distance'

- From: kernel test robot \<hidden\>
- Date: 2021-02-26 12:30:48 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/02/6506740
- Thread: https://ratatoskr.run/linux-mm/2021/02/6506740/t.md

```text
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   d01f2f7e35573049673b71e18be7abfe3f80323f
commit: 4f0e8eef772ee4438f304b2178bc28c958b6c13d [3118/12657] riscv: Add numa support for riscv64 platform
config: riscv-randconfig-p001-20210226 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=4f0e8eef772ee4438f304b2178bc28c958b6c13d
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 4f0e8eef772ee4438f304b2178bc28c958b6c13d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>

All errors (new ones prefixed by >>):

   riscv32-linux-ld: mm/page_alloc.o: in function `get_page_from_freelist':
>> page_alloc.c:(.text+0xe028): undefined reference to `node_reclaim_distance'
>> riscv32-linux-ld: page_alloc.c:(.text+0xe02c): undefined reference to `node_reclaim_distance'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
```

## Attachments

- [.config.gz](https://ratatoskr.run/linux-mm/2021/02/6506740/attachment/0) (application/gzip, 25662 bytes)
