[norov:demotion3 5/6] mips64-linux-ld: mempolicy.c:undefined reference to `set_demotion_target'

From: kernel test robot
Date: Sun Aug 08 2021 - 22:34:40 EST


tree: https://github.com/norov/linux demotion3
head: ac52751f89defdc134d62c3e58646ec1ba86ba37
commit: 1dd14bb7c6cec1f4a978cccd3e8b61fa9d8737a1 [5/6] sysfs: add /sys/kernel/mm/numa/demotion_list
config: mips-ip27_defconfig (attached as .config)
compiler: mips64-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/1dd14bb7c6cec1f4a978cccd3e8b61fa9d8737a1
git remote add norov https://github.com/norov/linux
git fetch --no-tags norov demotion3
git checkout 1dd14bb7c6cec1f4a978cccd3e8b61fa9d8737a1
# 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=mips 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 >>):

mips64-linux-ld: mm/mempolicy.o: in function `numa_demotion_list_store':
mempolicy.c:(.text+0x1e0c): undefined reference to `set_demotion_target'
>> mips64-linux-ld: mempolicy.c:(.text+0x1ec0): undefined reference to `set_demotion_target'

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

Attachment: .config.gz
Description: application/gzip