aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/kernel/probes-thumb.h
diff options
context:
space:
mode:
authorDavid A. Long2014-03-05 21:40:12 -0500
committerDavid A. Long2014-03-18 16:39:39 -0400
commit602cd2609eee92d338a83e400774e97c60535ba2 (patch)
tree43a6513e831fbfccca7889d897af7b70ed27812a /arch/arm/kernel/probes-thumb.h
parent47e190fafde49ff8ca732fa137e39cb2b8baba8c (diff)
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-thumb.h')
-rw-r--r--arch/arm/kernel/probes-thumb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/probes-thumb.h b/arch/arm/kernel/probes-thumb.h
index d6f67c1df7af..65e4250e9b78 100644
--- a/arch/arm/kernel/probes-thumb.h
+++ b/arch/arm/kernel/probes-thumb.h
@@ -89,9 +89,9 @@ extern const union decode_item probes_decode_thumb16_table[];
enum probes_insn __kprobes
thumb16_probes_decode_insn(probes_opcode_t insn, struct arch_specific_insn *asi,
- const union decode_action *actions);
+ bool emulate, const union decode_action *actions);
enum probes_insn __kprobes
thumb32_probes_decode_insn(probes_opcode_t insn, struct arch_specific_insn *asi,
- const union decode_action *actions);
+ bool emulate, const union decode_action *actions);
#endif