diff options
author | Lvqiang Huang | 2019-08-01 08:15:23 +0100 |
---|---|---|
committer | Russell King | 2019-08-23 11:32:37 +0100 |
commit | 69389837171140e2a94c5b8683c08dceaa8c9c8c (patch) | |
tree | 37f17e9e8cd96536a39188815319500534f904b4 /arch | |
parent | c51bc12d06b3a5494fbfcbd788a8e307932a06e9 (diff) |
ARM: 8897/1: check stmfd instruction using right shift
In the commit ef41b5c92498 ("ARM: make kernel oops easier to read"),
- .word 0xe92d0000 >> 10 @ stmfd sp!, {}
+ .word 0xe92d0000 >> 11 @ stmfd sp!, {}
then the shift need to change to 11.
Signed-off-by: Lvqiang Huang <Lvqiang.Huang@unisoc.com>
Signed-off-by: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/lib/backtrace.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/backtrace.S b/arch/arm/lib/backtrace.S index 1d5210eb4776..582925238d65 100644 --- a/arch/arm/lib/backtrace.S +++ b/arch/arm/lib/backtrace.S @@ -66,7 +66,7 @@ for_each_frame: tst frame, mask @ Check for address exceptions 1003: ldr r2, [sv_pc, #-4] @ if stmfd sp!, {args} exists, ldr r3, .Ldsi+4 @ adjust saved 'pc' back one - teq r3, r2, lsr #10 @ instruction + teq r3, r2, lsr #11 @ instruction subne r0, sv_pc, #4 @ allow for mov subeq r0, sv_pc, #8 @ allow for mov + stmia |