Skip to content
Commit fa66a9be authored by Jan Kiszka's avatar Jan Kiszka Committed by Benjamin Cabé
Browse files

arch: arm: cortex_r/a: Fix multiple use of ARCH_EXCEPT in same scope



Pull the register variable into the private scope that ARCH_EXCEPT
creates so that the macro can be used multiple times in the same caller
scope. This can happen via k_panic(), e.g. in subsys/fs/ext2/ext2_impl.c.

Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
parent da91dbdd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment