|
1 | 1 | /* |
2 | | - * arch/arm/kernel/kprobes-thumb.c |
| 2 | + * arch/arm/kernel/probes-thumb.c |
3 | 3 | * |
4 | 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 | 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 | 558 | * Load/store multiple instructions |
@@ -641,7 +641,7 @@ const union decode_item kprobe_decode_thumb32_table[] = { |
641 | 641 | DECODE_END |
642 | 642 | }; |
643 | 643 | #ifdef CONFIG_ARM_KPROBES_TEST_MODULE |
644 | | -EXPORT_SYMBOL_GPL(kprobe_decode_thumb32_table); |
| 644 | +EXPORT_SYMBOL_GPL(probes_decode_thumb32_table); |
645 | 645 | #endif |
646 | 646 |
|
647 | 647 | static const union decode_item t16_table_1011[] = { |
@@ -696,7 +696,7 @@ static const union decode_item t16_table_1011[] = { |
696 | 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 | 702 | * Shift (immediate), add, subtract, move, and compare |
@@ -833,7 +833,7 @@ const union decode_item kprobe_decode_thumb16_table[] = { |
833 | 833 | DECODE_END |
834 | 834 | }; |
835 | 835 | #ifdef CONFIG_ARM_KPROBES_TEST_MODULE |
836 | | -EXPORT_SYMBOL_GPL(kprobe_decode_thumb16_table); |
| 836 | +EXPORT_SYMBOL_GPL(probes_decode_thumb16_table); |
837 | 837 | #endif |
838 | 838 |
|
839 | 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 | 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 | 866 | const union decode_action *actions) |
867 | 867 | { |
868 | 868 | asi->insn_singlestep = thumb16_singlestep; |
869 | 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 | 871 | actions); |
872 | 872 | } |
873 | 873 |
|
874 | 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 | 876 | const union decode_action *actions) |
877 | 877 | { |
878 | 878 | asi->insn_singlestep = thumb32_singlestep; |
879 | 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 | 881 | actions); |
882 | 882 | } |
0 commit comments