diff --git a/boards/arm/cxd56xx/common/src/cxd56_crashdump.c b/boards/arm/cxd56xx/common/src/cxd56_crashdump.c index 57dee9e31e9..0278b09f569 100644 --- a/boards/arm/cxd56xx/common/src/cxd56_crashdump.c +++ b/boards/arm/cxd56xx/common/src/cxd56_crashdump.c @@ -189,7 +189,11 @@ void board_crashdump(uintptr_t currentsp, FAR void *tcb, #if CONFIG_ARCH_INTERRUPTSTACK > 3 /* Get the limits on the interrupt stack memory */ +#ifdef CONFIG_SMP + pdump->info.stacks.interrupt.top = (uint32_t)arm_intstack_top(); +#else pdump->info.stacks.interrupt.top = (uint32_t)&g_intstacktop; +#endif pdump->info.stacks.interrupt.size = (CONFIG_ARCH_INTERRUPTSTACK & ~3); /* If In interrupt Context save the interrupt stack data centered