]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit314de8a9e17f70243eacc80d2dd22a5d74b09fce
treebb802f67c89f3f188f93066842284e863ddd8a33
parentf433dc56344cb72cc3de5ba0819021cec3aef807
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