summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2023-10-27 16:40:13 -0400
committerTom Rini <[email protected]>2023-11-10 11:55:17 -0500
commit298c26c5c7f4105f4e421d227009baeba5c59678 (patch)
tree8b4aaa1b1a972c02969f200d54b18d4a1d8fb619 /include
parentb630f8b3aefc2d11cdc73314743a6fb16deaf4c5 (diff)
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: 41623c91b09 ("arm: move exception handling out of start.S files") Signed-off-by: Sean Anderson <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions