powerpc/64s: Fix build failures with CONFIG_NMI_IPI=n

Michael Ellerman patch-notifications at ellerman.id.au
Sat Jun 23 22:56:05 AEST 2018


On Tue, 2018-06-19 at 23:04:54 UTC, Michael Ellerman wrote:
> I broke the build when CONFIG_NMI_IPI=n with my recent commit to add
> arch_trigger_cpumask_backtrace(), eg:
> 
>   stacktrace.c:(.text+0x1b0): undefined reference to `.smp_send_safe_nmi_ipi'
> 
> We should rework the CONFIG symbols here in future to avoid these
> double barrelled ifdefs but for now they fix the build.
> 
> Fixes: 5cc05910f26e ("powerpc/64s: Wire up arch_trigger_cpumask_backtrace()")
> Reported-by: Christophe LEROY <christophe.leroy at c-s.fr>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>

Applied to powerpc fixes.

https://git.kernel.org/powerpc/c/e08ecba17b72aeb01859601bc242a5

cheers


More information about the Linuxppc-dev mailing list