On Tue, 24 Oct 2017 07:15:30 +0800 kbuild test robot <l...@intel.com> wrote:
> Hi Nicholas, > > [auto build test ERROR on powerpc/next] > [also build test ERROR on v4.14-rc6 next-20171018] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Nicholas-Piggin/avoid-secondary-hold-spinloop-when-possible/20171023-173012 > base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next > config: powerpc-iss476-smp_defconfig (attached as .config) > compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 > reproduce: > wget > https://raw.githubusercontent.com/intel/lkp-tests/master/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/smp.o: In function `smp_send_stop': > >> arch/powerpc/kernel/smp.c:563: undefined reference to `smp_send_nmi_ipi' > > vim +563 arch/powerpc/kernel/smp.c > > 560 > 561 void smp_send_stop(void) > 562 { > > 563 smp_send_nmi_ipi(NMI_IPI_ALL_OTHERS, stop_this_cpu, > 1000000); > 564 } > 565 Good catch, 0day. Thanks. Rather than have all architectures select NMI_IPI just for this, I think I'll make it depend on whether NMI_IPI was selected at all. Otherwise just keep using the normal smp_call_function(). Thanks, Nick