summaryrefslogtreecommitdiffstats
path: root/include/linux/kprobes.h
diff options
context:
space:
mode:
authorAnanth N Mavinakayanahalli2006-01-10 05:52:46 +0100
committerLinus Torvalds2006-01-10 17:01:40 +0100
commit0498b63504f818e5ab39c818cd6f7b41319a1187 (patch)
treed040fd5e2703f9ad601c6949f58ea29e8554154e /include/linux/kprobes.h
parent[PATCH] kprobes: arch_remove_kprobe (diff)
downloadkernel-qcow2-linux-0498b63504f818e5ab39c818cd6f7b41319a1187.tar.gz
kernel-qcow2-linux-0498b63504f818e5ab39c818cd6f7b41319a1187.tar.xz
kernel-qcow2-linux-0498b63504f818e5ab39c818cd6f7b41319a1187.zip
[PATCH] kprobes: fix build breakage
The following patch (against 2.6.15-rc5-mm3) fixes a kprobes build break due to changes introduced in the kprobe locking in 2.6.15-rc5-mm3. In addition, the patch reverts back the open-coding of kprobe_mutex. Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Acked-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/kprobes.h')
-rw-r--r--include/linux/kprobes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kprobes.h b/include/linux/kprobes.h
index 59bf240cdb9d..10005bc92a31 100644
--- a/include/linux/kprobes.h
+++ b/include/linux/kprobes.h
@@ -149,6 +149,7 @@ struct kretprobe_instance {
};
extern spinlock_t kretprobe_lock;
+extern struct semaphore kprobe_mutex;
extern int arch_prepare_kprobe(struct kprobe *p);
extern void arch_arm_kprobe(struct kprobe *p);
extern void arch_disarm_kprobe(struct kprobe *p);