]> err.no Git - linux-2.6/commit
[PATCH] ppc64 kprobes: correct kprobe registration return values
authorAnanth N Mavinakayanahalli <ananth@in.ibm.com>
Wed, 8 Jun 2005 22:49:41 +0000 (15:49 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 8 Jun 2005 23:21:13 +0000 (16:21 -0700)
commit63224d1e8b4cf87cc7420201a8cb3b44b9bf0b40
treeba7d897b1aeecb087d536b121176c10255bd1744
parent42442ed5744b03f5351a142649b8b4c97e6950ab
[PATCH] ppc64 kprobes: correct kprobe registration return values

Add stricter checks during kprobe registration.  Return correct error value so
insmod doesn't succeed.  Also printk reason for registration failure.

Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/kprobes.c