diff options
author | David A. Long <dave.long@linaro.org> | 2014-03-06 18:12:07 -0500 |
---|---|---|
committer | David A. Long <dave.long@linaro.org> | 2014-03-18 16:39:39 -0400 |
commit | 47e190fafde49ff8ca732fa137e39cb2b8baba8c (patch) | |
tree | bcfb54b117e8ac1ea0c06c22dd1546edc2c39aed /arch/arm/kernel/probes-thumb.c | |
parent | 44a0a59c535004eac9f18210cb2ce10b23861630 (diff) |
ARM: Change the remaining shared kprobes/uprobes symbols to something generic
Any more ARM kprobes/uprobes symbols which have "kprobe" in the name must be
changed to the more generic "probes" or other non-kprobes specific symbol.
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.c')
-rw-r--r-- | arch/arm/kernel/probes-thumb.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/kernel/probes-thumb.c b/arch/arm/kernel/probes-thumb.c index d23ef009fe63..eab440f6b2d4 100644 --- a/arch/arm/kernel/probes-thumb.c +++ b/arch/arm/kernel/probes-thumb.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/kernel/kprobes-thumb.c | 2 | * arch/arm/kernel/probes-thumb.c |
3 | * | 3 | * |
4 | * Copyright (C) 2011 Jon Medhurst <tixy@yxit.co.uk>. | 4 | * Copyright (C) 2011 Jon Medhurst <tixy@yxit.co.uk>. |
5 | * | 5 | * |
@@ -552,7 +552,7 @@ static const union decode_item t32_table_1111_1011_1[] = { | |||
552 | DECODE_END | 552 | DECODE_END |
553 | }; | 553 | }; |
554 | 554 | ||
555 | const union decode_item kprobe_decode_thumb32_table[] = { | 555 | const union decode_item probes_decode_thumb32_table[] = { |
556 | 556 | ||
557 | /* | 557 | /* |
558 | * Load/store multiple instructions | 558 | * Load/store multiple instructions |
@@ -641,7 +641,7 @@ const union decode_item kprobe_decode_thumb32_table[] = { | |||
641 | DECODE_END | 641 | DECODE_END |
642 | }; | 642 | }; |
643 | #ifdef CONFIG_ARM_KPROBES_TEST_MODULE | 643 | #ifdef CONFIG_ARM_KPROBES_TEST_MODULE |
644 | EXPORT_SYMBOL_GPL(kprobe_decode_thumb32_table); | 644 | EXPORT_SYMBOL_GPL(probes_decode_thumb32_table); |
645 | #endif | 645 | #endif |
646 | 646 | ||
647 | static const union decode_item t16_table_1011[] = { | 647 | static const union decode_item t16_table_1011[] = { |
@@ -696,7 +696,7 @@ static const union decode_item t16_table_1011[] = { | |||
696 | DECODE_END | 696 | DECODE_END |
697 | }; | 697 | }; |
698 | 698 | ||
699 | const union decode_item kprobe_decode_thumb16_table[] = { | 699 | const union decode_item probes_decode_thumb16_table[] = { |
700 | 700 | ||
701 | /* | 701 | /* |
702 | * Shift (immediate), add, subtract, move, and compare | 702 | * Shift (immediate), add, subtract, move, and compare |
@@ -833,7 +833,7 @@ const union decode_item kprobe_decode_thumb16_table[] = { | |||
833 | DECODE_END | 833 | DECODE_END |
834 | }; | 834 | }; |
835 | #ifdef CONFIG_ARM_KPROBES_TEST_MODULE | 835 | #ifdef CONFIG_ARM_KPROBES_TEST_MODULE |
836 | EXPORT_SYMBOL_GPL(kprobe_decode_thumb16_table); | 836 | EXPORT_SYMBOL_GPL(probes_decode_thumb16_table); |
837 | #endif | 837 | #endif |
838 | 838 | ||
839 | static unsigned long __kprobes thumb_check_cc(unsigned long cpsr) | 839 | static unsigned long __kprobes thumb_check_cc(unsigned long cpsr) |
@@ -862,21 +862,21 @@ static void __kprobes thumb32_singlestep(probes_opcode_t opcode, | |||
862 | } | 862 | } |
863 | 863 | ||
864 | enum probes_insn __kprobes | 864 | enum probes_insn __kprobes |
865 | thumb16_kprobe_decode_insn(probes_opcode_t insn, struct arch_specific_insn *asi, | 865 | thumb16_probes_decode_insn(probes_opcode_t insn, struct arch_specific_insn *asi, |
866 | const union decode_action *actions) | 866 | const union decode_action *actions) |
867 | { | 867 | { |
868 | asi->insn_singlestep = thumb16_singlestep; | 868 | asi->insn_singlestep = thumb16_singlestep; |
869 | asi->insn_check_cc = thumb_check_cc; | 869 | asi->insn_check_cc = thumb_check_cc; |
870 | return kprobe_decode_insn(insn, asi, kprobe_decode_thumb16_table, true, | 870 | return probes_decode_insn(insn, asi, probes_decode_thumb16_table, true, |
871 | actions); | 871 | actions); |
872 | } | 872 | } |
873 | 873 | ||
874 | enum probes_insn __kprobes | 874 | enum probes_insn __kprobes |
875 | thumb32_kprobe_decode_insn(probes_opcode_t insn, struct arch_specific_insn *asi, | 875 | thumb32_probes_decode_insn(probes_opcode_t insn, struct arch_specific_insn *asi, |
876 | const union decode_action *actions) | 876 | const union decode_action *actions) |
877 | { | 877 | { |
878 | asi->insn_singlestep = thumb32_singlestep; | 878 | asi->insn_singlestep = thumb32_singlestep; |
879 | asi->insn_check_cc = thumb_check_cc; | 879 | asi->insn_check_cc = thumb_check_cc; |
880 | return kprobe_decode_insn(insn, asi, kprobe_decode_thumb32_table, true, | 880 | return probes_decode_insn(insn, asi, probes_decode_thumb32_table, true, |
881 | actions); | 881 | actions); |
882 | } | 882 | } |