tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: b3a3cbdec55b090d22a09f75efb7c7d34cb97f25 commit: 3d7746bea92530e8695258a3cf3ddec7a135edd6 [3231/3956] x86/xen: Fix xen_hvm_smp_init() when vector callback not available config: x86_64-randconfig-r021-20210115 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 5b42fd8dd4e7e29125a09a41a33af7c9cb57d144) 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 # install x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3d7746bea92530e8695258a3cf3ddec7a135edd6 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 3d7746bea92530e8695258a3cf3ddec7a135edd6 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> arch/x86/xen/smp_hvm.c:77:3: error: use of undeclared identifier 'nopvspin' nopvspin = true; ^ 1 error generated. vim +/nopvspin +77 arch/x86/xen/smp_hvm.c 68 69 void __init xen_hvm_smp_init(void) 70 { 71 smp_ops.smp_prepare_boot_cpu = xen_hvm_smp_prepare_boot_cpu; 72 smp_ops.smp_prepare_cpus = xen_hvm_smp_prepare_cpus; 73 smp_ops.smp_cpus_done = xen_smp_cpus_done; 74 smp_ops.cpu_die = xen_hvm_cpu_die; 75 76 if (!xen_have_vector_callback) { > 77 nopvspin = true; --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip