Skip to content
Commit 1b7f3b6c authored by Michael Ellerman's avatar Michael Ellerman
Browse files

powerpc/eeh: Fix build with STACKTRACE=n



The build breaks when STACKTRACE=n, eg. skiroot_defconfig:

  arch/powerpc/kernel/eeh_event.c:124:23: error: implicit declaration of function 'stack_trace_save'

Fix it with some ifdefs for now.

Fixes: 25baf3d8 ("powerpc/eeh: Defer printing stack trace")
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 6ccb4ac2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment