|
@@ -196,7 +196,7 @@ save_stack_trace_tsk_reliable(struct task_struct *tsk,
|
|
EXPORT_SYMBOL_GPL(save_stack_trace_tsk_reliable);
|
|
EXPORT_SYMBOL_GPL(save_stack_trace_tsk_reliable);
|
|
#endif /* CONFIG_HAVE_RELIABLE_STACKTRACE */
|
|
#endif /* CONFIG_HAVE_RELIABLE_STACKTRACE */
|
|
|
|
|
|
-#ifdef CONFIG_PPC_BOOK3S_64
|
|
|
|
|
|
+#if defined(CONFIG_PPC_BOOK3S_64) && defined(CONFIG_NMI_IPI)
|
|
static void handle_backtrace_ipi(struct pt_regs *regs)
|
|
static void handle_backtrace_ipi(struct pt_regs *regs)
|
|
{
|
|
{
|
|
nmi_cpu_backtrace(regs);
|
|
nmi_cpu_backtrace(regs);
|
|
@@ -242,4 +242,4 @@ void arch_trigger_cpumask_backtrace(const cpumask_t *mask, bool exclude_self)
|
|
{
|
|
{
|
|
nmi_trigger_cpumask_backtrace(mask, exclude_self, raise_backtrace_ipi);
|
|
nmi_trigger_cpumask_backtrace(mask, exclude_self, raise_backtrace_ipi);
|
|
}
|
|
}
|
|
-#endif /* CONFIG_PPC64 */
|
|
|
|
|
|
+#endif /* defined(CONFIG_PPC_BOOK3S_64) && defined(CONFIG_NMI_IPI) */
|