projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
373ce30
)
ARM: extend Code: line by one 16-bit quantity for Thumb instructions
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 9 Jun 2011 22:21:11 +0000
(23:21 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 9 Jun 2011 22:55:45 +0000
(23:55 +0100)
Dump out the following 16-bit instruction to the faulting instruction
in the Code: line. This allows Thumb-2 instructions to be properly
encoded.
Tested-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/traps.c
b/arch/arm/kernel/traps.c
index c5ead3c2c61896d44360cb39039227770e9ce9da..6807cb1e76ddb119f78100aa3ccc7d59b1184721 100644
(file)
--- a/
arch/arm/kernel/traps.c
+++ b/
arch/arm/kernel/traps.c
@@
-139,7
+139,7
@@
static void dump_instr(const char *lvl, struct pt_regs *regs)
fs = get_fs();
set_fs(KERNEL_DS);
- for (i = -4; i < 1; i++) {
+ for (i = -4; i < 1
+ !!thumb
; i++) {
unsigned int val, bad;
if (thumb)