aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mm/abort-macro.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mm/abort-macro.S b/arch/arm/mm/abort-macro.S
index 8d3b9f999d1e..af97a10bc5ed 100644
--- a/arch/arm/mm/abort-macro.S
+++ b/arch/arm/mm/abort-macro.S
@@ -30,12 +30,10 @@ not_thumb:
30 * [20] == 0 30 * [20] == 0
31 */ 31 */
32 .macro do_ldrd_abort, tmp, insn 32 .macro do_ldrd_abort, tmp, insn
33 tst \insn, #0x0e000000 @ [27:25] == 0 33 tst \insn, #0x0e100000 @ [27:25,20] == 0
34 bne not_ldrd 34 bne not_ldrd
35 and \tmp, \insn, #0x000000f0 @ [7:4] == 1101 35 and \tmp, \insn, #0x000000f0 @ [7:4] == 1101
36 cmp \tmp, #0x000000d0 36 cmp \tmp, #0x000000d0
37 bne not_ldrd
38 tst \insn, #1 << 20 @ [20] == 0
39 moveq pc, lr 37 moveq pc, lr
40not_ldrd: 38not_ldrd:
41 .endm 39 .endm