Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are online

From: kbuild test robot
Date: Thu Oct 15 2015 - 20:30:46 EST


Hi Laurent,

[auto build test ERROR on powerpc/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url: https://github.com/0day-ci/linux/commits/Laurent-Vivier/powerpc-on-crash-kexec-ed-kernel-needs-all-CPUs-are-online/20151016-030306
config: powerpc-wii_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc

All errors (new ones prefixed by >>):

arch/powerpc/kernel/crash.c: In function 'wake_offline_cpus':
>> arch/powerpc/kernel/crash.c:315:4: error: implicit declaration of function 'cpu_up' [-Werror=implicit-function-declaration]
cpu_up(cpu);
^
cc1: all warnings being treated as errors

vim +/cpu_up +315 arch/powerpc/kernel/crash.c

309 {
310 int cpu = 0;
311
312 for_each_present_cpu(cpu) {
313 if (!cpu_online(cpu)) {
314 pr_info("kexec: Waking offline cpu %d.\n", cpu);
> 315 cpu_up(cpu);
316 }
317 }
318 }

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data