aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r--arch/arm/kernel/kprobes-decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/kprobes-decode.c b/arch/arm/kernel/kprobes-decode.c
index ee29d3350437..baf053ea96eb 100644
--- a/arch/arm/kernel/kprobes-decode.c
+++ b/arch/arm/kernel/kprobes-decode.c
@@ -1207,7 +1207,7 @@ space_cccc_001x(kprobe_opcode_t insn, struct arch_specific_insn *asi)
1207 * *S (bit 20) updates condition codes 1207 * *S (bit 20) updates condition codes
1208 * ADC/SBC/RSC reads the C flag 1208 * ADC/SBC/RSC reads the C flag
1209 */ 1209 */
1210 insn &= 0xffff0fff; /* Rd = r0 */ 1210 insn &= 0xfff00fff; /* Rn = r0 and Rd = r0 */
1211 asi->insn[0] = insn; 1211 asi->insn[0] = insn;
1212 1212
1213 if ((insn & 0x0f900000) == 0x03100000) { 1213 if ((insn & 0x0f900000) == 0x03100000) {