diff options
author | David A. Long <dave.long@linaro.org> | 2014-03-05 21:40:12 -0500 |
---|---|---|
committer | David A. Long <dave.long@linaro.org> | 2014-03-18 16:39:39 -0400 |
commit | 602cd2609eee92d338a83e400774e97c60535ba2 (patch) | |
tree | 43a6513e831fbfccca7889d897af7b70ed27812a /arch/arm/kernel/probes-arm.c | |
parent | 47e190fafde49ff8ca732fa137e39cb2b8baba8c (diff) | |
download | talos-op-linux-602cd2609eee92d338a83e400774e97c60535ba2.tar.gz talos-op-linux-602cd2609eee92d338a83e400774e97c60535ba2.zip |
ARM: Add an emulate flag to the kprobes/uprobes instruction decode functions
Add an emulate flag into the instruction interpreter, primarily for uprobes
support.
Signed-off-by: David A. Long <dave.long@linaro.org>
Acked-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'arch/arm/kernel/probes-arm.c')
-rw-r--r-- | arch/arm/kernel/probes-arm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/probes-arm.c b/arch/arm/kernel/probes-arm.c index 738e5fc58928..8e7fde876521 100644 --- a/arch/arm/kernel/probes-arm.c +++ b/arch/arm/kernel/probes-arm.c @@ -725,10 +725,10 @@ static void __kprobes arm_singlestep(probes_opcode_t insn, */ enum probes_insn __kprobes arm_probes_decode_insn(probes_opcode_t insn, struct arch_specific_insn *asi, - const union decode_action *actions) + bool emulate, const union decode_action *actions) { asi->insn_singlestep = arm_singlestep; asi->insn_check_cc = probes_condition_checks[insn>>28]; return probes_decode_insn(insn, asi, probes_decode_arm_table, false, - actions); + emulate, actions); } |