[csky-linux:riscv_compat_v6_sv48_xtpbmt 22/22] undefined reference to `apply_errata_setup_vm'

From: kernel test robot
Date: Mon Feb 07 2022 - 20:08:22 EST


tree: https://github.com/c-sky/csky-linux riscv_compat_v6_sv48_xtpbmt
head: 98b224ea2674b7419071fbc465e0da23d034c178
commit: 98b224ea2674b7419071fbc465e0da23d034c178 [22/22] riscv: errata: pgtable: Add custom Svpbmt supported for Allwinner D1
config: riscv-buildonly-randconfig-r001-20220207 (https://download.01.org/0day-ci/archive/20220208/202202080846.OG4uNAjt-lkp@xxxxxxxxx/config)
compiler: riscv32-linux-gcc (GCC) 11.2.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/c-sky/csky-linux/commit/98b224ea2674b7419071fbc465e0da23d034c178
git remote add csky-linux https://github.com/c-sky/csky-linux
git fetch --no-tags csky-linux riscv_compat_v6_sv48_xtpbmt
git checkout 98b224ea2674b7419071fbc465e0da23d034c178
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.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 >>):

riscv32-linux-ld: arch/riscv/mm/init.o: in function `setup_vm':
>> (.init.text+0x28c): undefined reference to `apply_errata_setup_vm'

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