[norov:demotion 5/6] mempolicy.c:undefined reference to `set_demotion_target'

From: kernel test robot
Date: Sun Aug 08 2021 - 08:57:52 EST

tree: https://github.com/norov/linux demotion
head: 78c3964952da24c07f2e34dc2d485fd2e6d5ba82
commit: 101e14d51cae3a28013f4e073b7067e405df0521 [5/6] sysfs: add /sys/kernel/mm/numa/demotion_list
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 10.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://github.com/norov/linux/commit/101e14d51cae3a28013f4e073b7067e405df0521
git remote add norov https://github.com/norov/linux
git fetch --no-tags norov demotion
git checkout 101e14d51cae3a28013f4e073b7067e405df0521
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

riscv64-linux-ld: mm/mempolicy.o: in function `.L271':
>> mempolicy.c:(.text+0x233e): undefined reference to `set_demotion_target'

0-DAY CI Kernel Test Service, Intel Corporation

Attachment: .config.gz
Description: application/gzip