diff options
author | Vyacheslav Cherkashin <v.cherkashin@samsung.com> | 2013-04-04 10:24:26 +0400 |
---|---|---|
committer | Vyacheslav Cherkashin <v.cherkashin@samsung.com> | 2013-04-04 10:24:26 +0400 |
commit | d677834784a86fdfbb73eb8db2c49948a0346899 (patch) | |
tree | c10f9e8037db8e44623e1b17fa6a25c8f71b26f0 /kprobe | |
parent | f60c4051cde70ecd5ff94551c36705f15e96443f (diff) | |
download | swap-modules-d677834784a86fdfbb73eb8db2c49948a0346899.tar.gz swap-modules-d677834784a86fdfbb73eb8db2c49948a0346899.tar.bz2 swap-modules-d677834784a86fdfbb73eb8db2c49948a0346899.zip |
[REFACTORE] rename dbi_arch_exit_kprobes()
dbi_arch_exit_kprobes() --> arch_exit_kprobes()
Diffstat (limited to 'kprobe')
-rw-r--r-- | kprobe/arch/asm-arm/dbi_kprobes.c | 4 | ||||
-rw-r--r-- | kprobe/arch/dbi_kprobes.h | 2 | ||||
-rw-r--r-- | kprobe/dbi_kprobes.c | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/kprobe/arch/asm-arm/dbi_kprobes.c b/kprobe/arch/asm-arm/dbi_kprobes.c index 4ad3baf4..9605cffb 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes.c +++ b/kprobe/arch/asm-arm/dbi_kprobes.c @@ -638,13 +638,11 @@ int arch_init_kprobes(void) return ret; } -void __exit dbi_arch_exit_kprobes (void) +void arch_exit_kprobes(void) { swap_unregister_undef_hook(&undef_ho_k); } -//EXPORT_SYMBOL_GPL (dbi_arch_exit_kprobes); - /* export symbol for trampoline_arm.h */ EXPORT_SYMBOL_GPL(gen_insn_execbuf); EXPORT_SYMBOL_GPL(pc_dep_insn_execbuf); diff --git a/kprobe/arch/dbi_kprobes.h b/kprobe/arch/dbi_kprobes.h index 55a2e0f4..1f77e3ce 100644 --- a/kprobe/arch/dbi_kprobes.h +++ b/kprobe/arch/dbi_kprobes.h @@ -63,7 +63,7 @@ extern void __arch_prepare_kretprobe (struct kretprobe *rp, struct pt_regs *regs extern int arch_prepare_kprobe (struct kprobe *p); extern int arch_prepare_kretprobe (struct kretprobe *p); extern int arch_init_kprobes (void); -extern void dbi_arch_exit_kprobes (void); +void arch_exit_kprobes(void); void dbi_jprobe_return (void); diff --git a/kprobe/dbi_kprobes.c b/kprobe/dbi_kprobes.c index 31fadfad..4f3a5783 100644 --- a/kprobe/dbi_kprobes.c +++ b/kprobe/dbi_kprobes.c @@ -886,7 +886,7 @@ static int __init init_kprobes(void) static void __exit exit_kprobes(void) { - dbi_arch_exit_kprobes(); + arch_exit_kprobes(); } module_init(init_kprobes); |