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

From: kernel test robot
Date: Wed Aug 11 2021 - 18:22:56 EST


tree: https://github.com/norov/linux demotion
head: 8994e1f6279049d665e76a7e4a36ddcd949256b0
commit: b168704749e0d8621262a7e8b1acfd8257e5369b [5/6] sysfs: add /sys/kernel/mm/numa/demotion_list
config: arm64-defconfig (attached as .config)
compiler: aarch64-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/b168704749e0d8621262a7e8b1acfd8257e5369b
git remote add norov https://github.com/norov/linux
git fetch --no-tags norov demotion
git checkout b168704749e0d8621262a7e8b1acfd8257e5369b
# 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=arm64 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 >>):

aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: mm/mempolicy.o: in function `numa_demotion_list_store':
>> mempolicy.c:(.text+0x89c): 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