linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [linuxppc:next-test 18/70] arch/powerpc/platforms/pseries/hotplug-cpu.c:1022:8: error: 'node_to_cpumask_map' undeclared
@ 2021-08-12 20:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-12 20:02 UTC (permalink / raw)
  To: Laurent Dufour; +Cc: kbuild-all, linux-kernel, Michael Ellerman, Nathan Lynch

[-- Attachment #1: Type: text/plain, Size: 2721 bytes --]

tree:   https://github.com/linuxppc/linux next-test
head:   aaf01a9f507c108cc8e86f420b0a81e21354be1b
commit: bd1dd4c5f5286df0148b5b316f37c583b8f55fa1 [18/70] powerpc/pseries: Prevent free CPU ids being reused on another node
config: powerpc-randconfig-r005-20210812 (attached as .config)
compiler: powerpc-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/linuxppc/linux/commit/bd1dd4c5f5286df0148b5b316f37c583b8f55fa1
        git remote add linuxppc https://github.com/linuxppc/linux
        git fetch --no-tags linuxppc next-test
        git checkout bd1dd4c5f5286df0148b5b316f37c583b8f55fa1
        # 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=powerpc SHELL=/bin/bash arch/powerpc/platforms/pseries/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/powerpc/platforms/pseries/hotplug-cpu.c: In function 'pseries_cpu_hotplug_init':
>> arch/powerpc/platforms/pseries/hotplug-cpu.c:1022:8: error: 'node_to_cpumask_map' undeclared (first use in this function)
    1022 |        node_to_cpumask_map[node]);
         |        ^~~~~~~~~~~~~~~~~~~
   arch/powerpc/platforms/pseries/hotplug-cpu.c:1022:8: note: each undeclared identifier is reported only once for each function it appears in


vim +/node_to_cpumask_map +1022 arch/powerpc/platforms/pseries/hotplug-cpu.c

   999	
  1000		rtas_stop_self_token = rtas_token("stop-self");
  1001		qcss_tok = rtas_token("query-cpu-stopped-state");
  1002	
  1003		if (rtas_stop_self_token == RTAS_UNKNOWN_SERVICE ||
  1004				qcss_tok == RTAS_UNKNOWN_SERVICE) {
  1005			printk(KERN_INFO "CPU Hotplug not supported by firmware "
  1006					"- disabling.\n");
  1007			return 0;
  1008		}
  1009	
  1010		smp_ops->cpu_offline_self = pseries_cpu_offline_self;
  1011		smp_ops->cpu_disable = pseries_cpu_disable;
  1012		smp_ops->cpu_die = pseries_cpu_die;
  1013	
  1014		/* Processors can be added/removed only on LPAR */
  1015		if (firmware_has_feature(FW_FEATURE_LPAR)) {
  1016			for_each_node(node) {
  1017				alloc_bootmem_cpumask_var(&node_recorded_ids_map[node]);
  1018	
  1019				/* Record ids of CPU added at boot time */
  1020				cpumask_or(node_recorded_ids_map[node],
  1021					   node_recorded_ids_map[node],
> 1022					   node_to_cpumask_map[node]);

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37905 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-12 20:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-12 20:02 [linuxppc:next-test 18/70] arch/powerpc/platforms/pseries/hotplug-cpu.c:1022:8: error: 'node_to_cpumask_map' undeclared kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).