aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/entry-armv.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel/entry-armv.S')
-rw-r--r--arch/arm/kernel/entry-armv.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S
index 9cbe70c8b0ef..55090fbb81a2 100644
--- a/arch/arm/kernel/entry-armv.S
+++ b/arch/arm/kernel/entry-armv.S
@@ -416,9 +416,8 @@ __und_usr:
416 bne __und_usr_thumb 416 bne __und_usr_thumb
417 sub r4, r2, #4 @ ARM instr at LR - 4 417 sub r4, r2, #4 @ ARM instr at LR - 4
4181: ldrt r0, [r4] 4181: ldrt r0, [r4]
419#ifdef CONFIG_CPU_ENDIAN_BE8 419 ARM_BE8(rev r0, r0) @ little endian instruction
420 rev r0, r0 @ little endian instruction 420
421#endif
422 @ r0 = 32-bit ARM instruction which caused the exception 421 @ r0 = 32-bit ARM instruction which caused the exception
423 @ r2 = PC value for the following instruction (:= regs->ARM_pc) 422 @ r2 = PC value for the following instruction (:= regs->ARM_pc)
424 @ r4 = PC value for the faulting instruction 423 @ r4 = PC value for the faulting instruction