From: Steven Rostedt Date: Mon, 18 Oct 2010 14:38:58 +0000 (-0400) Subject: jump label: Fix error with preempt disable holding mutex X-Git-Tag: v2.6.37-rc1~18^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de31c3ca8179d7c21def7ecb56e4fec0c8659d36;p=pandora-kernel.git jump label: Fix error with preempt disable holding mutex Kprobes and jump label were having a race between mutexes that was fixed by reordering the jump label. But this reordering moved the jump label mutex into a preempt disable location. This patch does a little fiddling to move the grabbing of the jump label mutex from inside the preempt disable section and still keep the order correct between the mutex and the kprobes lock. Reported-by: Ingo Molnar Acked-by: Masami Hiramatsu Cc: Jason Baron Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed