[openeuler:OLK-5.10 2579/2579] arch/arm64/kernel/arm64_cpu_park.c:249:31: error: 'const struct cpu_operations' has no member named 'cpu_die'

Hi Kefeng, FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant. tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: ff5378fff024fcb2552e6da22811cf933fe4a4c0 commit: ba25d7467b3040d98290a140256303ba190ef376 [2579/2579] arm64: cpu_park: Move into stand-alone file config: arm64-randconfig-002-20241213 (https://download.01.org/0day-ci/archive/20241213/202412130351.ogsraRJ5-lkp@i...) compiler: aarch64-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412130351.ogsraRJ5-lkp@i...) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202412130351.ogsraRJ5-lkp@intel.com/ All errors (new ones prefixed by >>): arch/arm64/kernel/arm64_cpu_park.c: In function 'cpu_park_stop':
arch/arm64/kernel/arm64_cpu_park.c:249:31: error: 'const struct cpu_operations' has no member named 'cpu_die' 249 | if (ops && ops->cpu_die) | ^~ arch/arm64/kernel/arm64_cpu_park.c:250:28: error: 'const struct cpu_operations' has no member named 'cpu_die' 250 | ops->cpu_die(cpu); | ^~
vim +249 arch/arm64/kernel/arm64_cpu_park.c 235 236 void cpu_park_stop(void) 237 { 238 int cpu = smp_processor_id(); 239 const struct cpu_operations *ops = NULL; 240 /* 241 * Go to cpu park state. 242 * Otherwise go to cpu die. 243 */ 244 if (kexec_in_progress && park_info.start_v) { 245 machine_kexec_mask_interrupts(); 246 cpu_park(cpu); 247 248 ops = get_cpu_ops(cpu);
249 if (ops && ops->cpu_die) 250 ops->cpu_die(cpu); 251 } 252 } 253
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot