[pci:pci/review/cpumask 1/5] arch/arm64/include/asm/numa.h:26:9: error: 'node_to_cpumask_map' undeclared; did you mean 'free_cpumask_var'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/review/cpumask
head:   f926e1b19abb750caa57840ff2e76afabae33ce1
commit: 7d9abc5d26ccdc68f2839c75f99af0e6cbca2e73 [1/5] Unify node_to_cpumask_map
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 7d9abc5d26ccdc68f2839c75f99af0e6cbca2e73
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=arm64 

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

All errors (new ones prefixed by >>):

   In file included from arch/arm64/include/asm/mmzone.h:7:0,
                    from include/linux/mmzone.h:984,
                    from include/linux/gfp.h:6,
                    from include/linux/xarray.h:14,
                    from include/linux/radix-tree.h:18,
                    from include/linux/idr.h:15,
                    from include/linux/kernfs.h:13,
                    from include/linux/sysfs.h:16,
                    from include/linux/kobject.h:20,
                    from include/linux/of.h:17,
                    from include/linux/irqdomain.h:35,
                    from include/linux/acpi.h:13,
                    from include/acpi/apei.h:9,
                    from include/acpi/ghes.h:5,
                    from include/linux/arm_sdei.h:8,
                    from arch/arm64/kernel/asm-offsets.c:10:
   arch/arm64/include/asm/numa.h: In function 'cpumask_of_node':
>> arch/arm64/include/asm/numa.h:26:9: error: 'node_to_cpumask_map' undeclared (first use in this function); did you mean 'free_cpumask_var'?
     return node_to_cpumask_map[node];
            ^~~~~~~~~~~~~~~~~~~
            free_cpumask_var
   arch/arm64/include/asm/numa.h:26:9: note: each undeclared identifier is reported only once for each function it appears in
   make[2]: *** [arch/arm64/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2
   25 real  4 user  5 sys  35.82% cpu 	make prepare

vim +26 arch/arm64/include/asm/numa.h

1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  19  
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  20  #ifdef CONFIG_DEBUG_PER_CPU_MAPS
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  21  const struct cpumask *cpumask_of_node(int node);
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  22  #else
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  23  /* Returns a pointer to the cpumask of CPUs on Node 'node'. */
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  24  static inline const struct cpumask *cpumask_of_node(int node)
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  25  {
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08 @26  	return node_to_cpumask_map[node];
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  27  }
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  28  #endif
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  29  

:::::: The code at line 26 was first introduced by commit
:::::: 1a2db300348b799479d2d22b84d51b27ad0458c7 arm64, numa: Add NUMA support for arm64 platforms.

:::::: TO: Ganapatrao Kulkarni <gkulkarni@xxxxxxxxxxxxxxxxxx>
:::::: CC: Will Deacon <will.deacon@xxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux