diff options
author | David A. Long <dave.long@linaro.org> | 2014-03-05 21:20:25 -0500 |
---|---|---|
committer | David A. Long <dave.long@linaro.org> | 2014-03-18 16:39:38 -0400 |
commit | eb73ea97e63bb06bf98ff052615ce181bc7f69ec (patch) | |
tree | d55b8de968809e2128df85137010cbac4c9b5f56 /arch/arm/kernel/kprobes-thumb.c | |
parent | f145d664df502585618b12ed68c681f82153e02a (diff) |
ARM: Change more ARM kprobes symbol names to something more generic
Change kprobe_emulate_none, kprobe_simulate_nop, and arm_kprobe_decode_init
function names to something more appropriate for code being shared
outside of the kprobes subsystem. Also, move the new arm_probes_decode_init
declaration out of the kprobes.h include file and into the probes.h include file.
Signed-off-by: David A. Long <dave.long@linaro.org>
Acked-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'arch/arm/kernel/kprobes-thumb.c')
-rw-r--r-- | arch/arm/kernel/kprobes-thumb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/kernel/kprobes-thumb.c b/arch/arm/kernel/kprobes-thumb.c index 610d6932e9bf..2a73330fb19f 100644 --- a/arch/arm/kernel/kprobes-thumb.c +++ b/arch/arm/kernel/kprobes-thumb.c | |||
@@ -613,8 +613,8 @@ const union decode_action kprobes_t16_actions[NUM_PROBES_T16_ACTIONS] = { | |||
613 | [PROBES_T16_SIGN_EXTEND] = {.handler = t16_emulate_loregs_rwflags}, | 613 | [PROBES_T16_SIGN_EXTEND] = {.handler = t16_emulate_loregs_rwflags}, |
614 | [PROBES_T16_PUSH] = {.decoder = t16_decode_push}, | 614 | [PROBES_T16_PUSH] = {.decoder = t16_decode_push}, |
615 | [PROBES_T16_POP] = {.decoder = t16_decode_pop}, | 615 | [PROBES_T16_POP] = {.decoder = t16_decode_pop}, |
616 | [PROBES_T16_SEV] = {.handler = kprobe_emulate_none}, | 616 | [PROBES_T16_SEV] = {.handler = probes_emulate_none}, |
617 | [PROBES_T16_WFE] = {.handler = kprobe_simulate_nop}, | 617 | [PROBES_T16_WFE] = {.handler = probes_simulate_nop}, |
618 | [PROBES_T16_IT] = {.decoder = t16_decode_it}, | 618 | [PROBES_T16_IT] = {.decoder = t16_decode_it}, |
619 | [PROBES_T16_CMP] = {.handler = t16_emulate_loregs_rwflags}, | 619 | [PROBES_T16_CMP] = {.handler = t16_emulate_loregs_rwflags}, |
620 | [PROBES_T16_ADDSUB] = {.handler = t16_emulate_loregs_noitrwflags}, | 620 | [PROBES_T16_ADDSUB] = {.handler = t16_emulate_loregs_noitrwflags}, |
@@ -644,12 +644,12 @@ const union decode_action kprobes_t32_actions[NUM_PROBES_T32_ACTIONS] = { | |||
644 | [PROBES_T32_MOVW] = {.handler = t32_emulate_rd8rn16_noflags}, | 644 | [PROBES_T32_MOVW] = {.handler = t32_emulate_rd8rn16_noflags}, |
645 | [PROBES_T32_SAT] = {.handler = t32_emulate_rd8rn16rm0_rwflags}, | 645 | [PROBES_T32_SAT] = {.handler = t32_emulate_rd8rn16rm0_rwflags}, |
646 | [PROBES_T32_BITFIELD] = {.handler = t32_emulate_rd8rn16_noflags}, | 646 | [PROBES_T32_BITFIELD] = {.handler = t32_emulate_rd8rn16_noflags}, |
647 | [PROBES_T32_SEV] = {.handler = kprobe_emulate_none}, | 647 | [PROBES_T32_SEV] = {.handler = probes_emulate_none}, |
648 | [PROBES_T32_WFE] = {.handler = kprobe_simulate_nop}, | 648 | [PROBES_T32_WFE] = {.handler = probes_simulate_nop}, |
649 | [PROBES_T32_MRS] = {.handler = t32_simulate_mrs}, | 649 | [PROBES_T32_MRS] = {.handler = t32_simulate_mrs}, |
650 | [PROBES_T32_BRANCH_COND] = {.decoder = t32_decode_cond_branch}, | 650 | [PROBES_T32_BRANCH_COND] = {.decoder = t32_decode_cond_branch}, |
651 | [PROBES_T32_BRANCH] = {.handler = t32_simulate_branch}, | 651 | [PROBES_T32_BRANCH] = {.handler = t32_simulate_branch}, |
652 | [PROBES_T32_PLDI] = {.handler = kprobe_simulate_nop}, | 652 | [PROBES_T32_PLDI] = {.handler = probes_simulate_nop}, |
653 | [PROBES_T32_LDR_LIT] = {.handler = t32_simulate_ldr_literal}, | 653 | [PROBES_T32_LDR_LIT] = {.handler = t32_simulate_ldr_literal}, |
654 | [PROBES_T32_LDRSTR] = {.handler = t32_emulate_ldrstr}, | 654 | [PROBES_T32_LDRSTR] = {.handler = t32_emulate_ldrstr}, |
655 | [PROBES_T32_SIGN_EXTEND] = {.handler = t32_emulate_rd8rn16rm0_rwflags}, | 655 | [PROBES_T32_SIGN_EXTEND] = {.handler = t32_emulate_rd8rn16rm0_rwflags}, |