From: Rusty Russell Date: Mon, 10 Mar 2008 18:43:52 +0000 (-0700) Subject: modules: fix module waiting for dependent modules' init X-Git-Tag: v2.6.25-rc6~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c5db22d280302c33dafb309c25bf2841fb99c37;p=pandora-kernel.git modules: fix module waiting for dependent modules' init Commit c9a3ba55 (module: wait for dependent modules doing init.) didn't quite work because the waiter holds the module lock, meaning that the state of the module it's waiting for cannot change. Fortunately, it's fairly simple to update the state outside the lock and do the wakeup. Thanks to Jan Glauber for tracking this down and testing (qdio and qeth). Signed-off-by: Rusty Russell Cc: Jan Glauber Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed