summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/probes.h
diff options
context:
space:
mode:
authorDavid A. Long2014-03-06 03:40:12 +0100
committerDavid A. Long2014-03-18 21:39:39 +0100
commit602cd2609eee92d338a83e400774e97c60535ba2 (patch)
tree43a6513e831fbfccca7889d897af7b70ed27812a /arch/arm/kernel/probes.h
parentARM: Change the remaining shared kprobes/uprobes symbols to something generic (diff)
downloadkernel-qcow2-linux-602cd2609eee92d338a83e400774e97c60535ba2.tar.gz
kernel-qcow2-linux-602cd2609eee92d338a83e400774e97c60535ba2.tar.xz
kernel-qcow2-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.h')
-rw-r--r--arch/arm/kernel/probes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/probes.h b/arch/arm/kernel/probes.h
index 0c72e544175d..33cc30c50cf5 100644
--- a/arch/arm/kernel/probes.h
+++ b/arch/arm/kernel/probes.h
@@ -401,7 +401,7 @@ probes_insn_handler_t probes_emulate_none;
int __kprobes
probes_decode_insn(probes_opcode_t insn, struct arch_specific_insn *asi,
- const union decode_item *table, bool thumb,
+ const union decode_item *table, bool thumb, bool emulate,
const union decode_action *actions);
#endif