]> git.baikalelectronics.ru Git - kernel.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)
commiteac4439e4f2159c9d563e2d2c425a123bfaef3f8
tree3d25d1783ad794b7bc64f5f36f5289f7f51a56fc
parent85e54276a225192a73ec2e04ab549a3e23e5a745
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