]> git.baikalelectronics.ru Git - kernel.git/commit
Linux Kernel Markers: fix marker mutex not taken upon module load
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 15 Nov 2007 00:59:48 +0000 (16:59 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:40 +0000 (18:45 -0800)
commit4e593f0238962ee26859ac26545f7cdc15008d8c
treebb802f67c89f3f188f93066842284e863ddd8a33
parent326b01372d9ab2e4f564821c97eea67d031b49a1
Linux Kernel Markers: fix marker mutex not taken upon module load

Upon module load, we must take the markers mutex.  It implies that the marker
mutex must be nested inside the module mutex.

It implies changing the nesting order : now the marker mutex nests inside the
module mutex.  Make the necessary changes to reverse the order in which the
mutexes are taken.

Includes some cleanup from Dave Hansen <haveblue@us.ibm.com>.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/marker.c