Skip to content
Commit 298c26c5 authored by Sean Anderson's avatar Sean Anderson Committed by Tom Rini
Browse files

arm: Fix software interrupt handler



When we take a software interrupt, we are already in supervisor mode.
get_bad_stack assumes we are not in supervisor mode so it can clobber
the stack pointer. This causes us to have an invalid stack once that
macro finishes. Revert back to the get_bad_stack_swi macro which was
previously removed.

Fixes: 41623c91 ("arm: move exception handling out of start.S files")
Signed-off-by: default avatarSean Anderson <sean.anderson@seco.com>
parent b630f8b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment