kprobes: fix to use text_mutex around arm/disarm kprobe
authorMasami Hiramatsu <mhiramat@redhat.com>
Thu, 7 May 2009 20:31:26 +0000 (16:31 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 May 2009 23:23:48 +0000 (16:23 -0700)
commit201517a7f3ec497fff545a7659c6c876f89f9054
tree47721de5b13043eb9e7e10aaf7fe544c794a3c7d
parentd7a5926978cb109b2db5985c65086483caf9e226
kprobes: fix to use text_mutex around arm/disarm kprobe

Fix kprobes to lock text_mutex around some arch_arm/disarm_kprobe() which
are newly added by commit de5bd88d5a5cce3cacea904d3503e5ebdb3852a2.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kprobes.c