diff options
author | Vladimir Murzin <[email protected]> | 2017-04-24 10:41:53 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2017-04-26 10:59:36 +0100 |
commit | b70cd406d7fe9976962d621d8c60d324eb47d284 (patch) | |
tree | 98aa98df6b8f749605d72cc6f74ace87d830152b /arch/mips/mm/init.c | |
parent | 6f05d0761af612e04572ba4d65b4c0274a88444f (diff) |
ARM: 8671/1: V7M: Preserve registers across switch from Thread to Handler mode
According to ARMv7 ARM, when exception is taken content of r0-r3, r12
is unknown (see ExceptionTaken() pseudocode). Even though existent
implementations keep these register unchanged, preserve them to be in
line with architecture.
Reported-by: Dobromir Stefanov <[email protected]>
Signed-off-by: Vladimir Murzin <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'arch/mips/mm/init.c')
0 files changed, 0 insertions, 0 deletions