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: x86_64-defconfig (attached as .config) compiler: gcc-7 (Debian 7.5.0-3) 7.5.0 reproduce: git checkout 7d9abc5d26ccdc68f2839c75f99af0e6cbca2e73 # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot All errors (new ones prefixed by >>): In file included from arch/x86/include/asm/numa.h:7:0, from arch/x86/include/asm/acpi.h:11, from arch/x86/include/asm/fixmap.h:29, from arch/x86/include/asm/apic.h:11, from arch/x86/include/asm/smp.h:13, from arch/x86/include/asm/mmzone_64.h:11, from arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:984, from include/linux/gfp.h:6, from include/linux/slab.h:15, from include/linux/crypto.h:19, from arch/x86/kernel/asm-offsets.c:9: arch/x86/include/asm/topology.h: In function 'cpumask_of_node': >> arch/x86/include/asm/topology.h:69: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/x86/include/asm/topology.h:69:9: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [arch/x86/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 40 real 7 user 4 sys 29.59% cpu make prepare vim +69 arch/x86/include/asm/topology.h 71ee73e7222877 arch/x86/include/asm/topology.h Rusty Russell 2009-03-13 62 71ee73e7222877 arch/x86/include/asm/topology.h Rusty Russell 2009-03-13 63 #ifdef CONFIG_DEBUG_PER_CPU_MAPS 73e907de7d5cec arch/x86/include/asm/topology.h Rusty Russell 2009-03-13 64 extern const struct cpumask *cpumask_of_node(int node); 71ee73e7222877 arch/x86/include/asm/topology.h Rusty Russell 2009-03-13 65 #else 23ca4bba3e20c6 include/asm-x86/topology.h Mike Travis 2008-05-12 66 /* Returns a pointer to the cpumask of CPUs on Node 'node'. */ c032ef60d1aa9a arch/x86/include/asm/topology.h Rusty Russell 2009-03-13 67 static inline const struct cpumask *cpumask_of_node(int node) 23ca4bba3e20c6 include/asm-x86/topology.h Mike Travis 2008-05-12 68 { 23ca4bba3e20c6 include/asm-x86/topology.h Mike Travis 2008-05-12 @69 return node_to_cpumask_map[node]; 834beda15ecc43 include/asm-x86/topology.h travis@sgi.com 2008-01-30 70 } 71ee73e7222877 arch/x86/include/asm/topology.h Rusty Russell 2009-03-13 71 #endif aa6b54461cc5c0 include/asm-x86/topology.h Mike Travis 2008-03-31 72 :::::: The code at line 69 was first introduced by commit :::::: 23ca4bba3e20c6c3cb11c1bb0ab4770b724d39ac x86: cleanup early per cpu variables/accesses v4 :::::: TO: Mike Travis :::::: CC: Ingo Molnar --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org