summaryrefslogtreecommitdiffstats
path: root/arch/arm/probes/uprobes/actions-arm.c
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2015-01-07 11:42:30 +0000
committerJon Medhurst <tixy@linaro.org>2015-01-09 09:36:51 +0000
commit832607e79d7423c67ef8a3de8dfa3d25b5b0bf86 (patch)
treec16876fab4d3f0a6d53712784605c5e2fdab0379 /arch/arm/probes/uprobes/actions-arm.c
parentfca08f326ae0423f03b097ff54de432fe77b95d0 (diff)
downloadblackbird-op-linux-832607e79d7423c67ef8a3de8dfa3d25b5b0bf86.tar.gz
blackbird-op-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/actions-arm.c')
-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},
OpenPOWER on IntegriCloud