summaryrefslogtreecommitdiffstats
path: root/arch/arm/probes/uprobes
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2015-01-07 12:42:30 +0100
committerJon Medhurst <tixy@linaro.org>2015-01-09 10:36:51 +0100
commit832607e79d7423c67ef8a3de8dfa3d25b5b0bf86 (patch)
treec16876fab4d3f0a6d53712784605c5e2fdab0379 /arch/arm/probes/uprobes
parentARM: probes: move all probe code to dedicate directory (diff)
downloadlinux-832607e79d7423c67ef8a3de8dfa3d25b5b0bf86.tar.xz
linux-832607e79d7423c67ef8a3de8dfa3d25b5b0bf86.zip
ARM: probes: Use correct action types for MOVW, SEV and WFI
This doesn't correct any bugs when probing these instructions but makes MOVW slightly faster and makes everything more symmetric with the Thumb instruction cases. We can also remove the now redundant PROBES_EMULATE_NONE and PROBES_SIMULATE_NOP actions. Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'arch/arm/probes/uprobes')
-rw-r--r--arch/arm/probes/uprobes/actions-arm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/probes/uprobes/actions-arm.c b/arch/arm/probes/uprobes/actions-arm.c
index 1dd4916ba8aa..76eb44972ebe 100644
--- a/arch/arm/probes/uprobes/actions-arm.c
+++ b/arch/arm/probes/uprobes/actions-arm.c
@@ -195,8 +195,6 @@ uprobe_decode_ldmstm(probes_opcode_t insn,
}
const union decode_action uprobes_probes_actions[] = {
- [PROBES_EMULATE_NONE] = {.handler = probes_simulate_nop},
- [PROBES_SIMULATE_NOP] = {.handler = probes_simulate_nop},
[PROBES_PRELOAD_IMM] = {.handler = probes_simulate_nop},
[PROBES_PRELOAD_REG] = {.handler = probes_simulate_nop},
[PROBES_BRANCH_IMM] = {.handler = simulate_blx1},