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)
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

diff --cc kernel/module.c
Simple merge