summaryrefslogtreecommitdiffstats
path: root/kernel/kprobes.c
diff options
context:
space:
mode:
authorRusty Lynch2005-07-06 03:54:50 +0200
committerLinus Torvalds2005-07-06 04:19:00 +0200
commit6772926bef3c9f0ec761b39e5702535471fff70b (patch)
treeb55f1b7af51e10c54781e24b5472236323d24ee5 /kernel/kprobes.c
parent[PATCH] ppc32: explicitly disable 440GP IRQ compatibility mode in 440GX setup (diff)
downloadkernel-qcow2-linux-6772926bef3c9f0ec761b39e5702535471fff70b.tar.gz
kernel-qcow2-linux-6772926bef3c9f0ec761b39e5702535471fff70b.tar.xz
kernel-qcow2-linux-6772926bef3c9f0ec761b39e5702535471fff70b.zip
[PATCH] kprobes: fix namespace problem and sparc64 build
The following renames arch_init, a kprobes function for performing any architecture specific initialization, to arch_init_kprobes in order to cleanup the namespace. Also, this patch adds arch_init_kprobes to sparc64 to fix the sparc64 kprobes build from the last return probe patch. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/kprobes.c')
-rw-r--r--kernel/kprobes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index 90c0e82b650c..b0237122b24e 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -574,7 +574,7 @@ static int __init init_kprobes(void)
INIT_HLIST_HEAD(&kretprobe_inst_table[i]);
}
- err = arch_init();
+ err = arch_init_kprobes();
if (!err)
err = register_die_notifier(&kprobe_exceptions_nb);