stacktrace.c:(.text+0x1b0): undefined reference to `.smp_send_safe_nmi_ipi'

Michael Ellerman mpe at ellerman.id.au
Tue Jun 19 21:58:40 AEST 2018


Christophe LEROY <christophe.leroy at c-s.fr> writes:

> See http://kisskb.ellerman.id.au/kisskb/buildresult/13395345/ for details
>
> Seems like that function only exists when CONFIG_NMI_IPI is defined.
>
> Problem introduced by commit 5cc05910f26e6fd6da15f052f86f6150e4b91664 
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/arch/powerpc/kernel/stacktrace.c?h=next-20180614&id=5cc05910f26e6fd6da15f052f86f6150e4b91664
>
>
> What do you recommend to fix that ?

It should just use CONFIG_NMI_IPI instead of CONFIG_PPC_BOOK3S_64 I
think.

I'll do a patch.

cheers


More information about the Linuxppc-dev mailing list