]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
module: wait for dependent modules doing init.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Jan 2008 22:13:18 +0000 (17:13 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Jan 2008 06:13:20 +0000 (17:13 +1100)
commitc9a3ba55bb5da03fc7d707709a7fe078fe1aa0a0
tree3d25d1783ad794b7bc64f5f36f5289f7f51a56fc
parenta2da4052f1df6bc77749f84496fe731ab8b458f7
module: wait for dependent modules doing init.

There have been reports of modules failing to load because the modules
they depend on are still loading.  This changes the modules to wait
for a reasonable length of time in that case.  We time out eventually,
because there can be module loops or broken modules.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c