Mark Huang d10be6d1bd [PATCH] module_subsys: initialize earlier
Initialize module_subsys earlier (or at least earlier than devices) since
it could be used very early in the boot process if kmod loads a module
before the device initcalls.  Otherwise, kmod will crash in
kernel/module.c:mod_sysfs_setup() since the kset in module_subsys is not
initialized yet.

I only noticed this problem because occasionally, kmod loads the modules
for my SCSI and Ethernet adapters very early, during the boot process
itself.  I don't quite understand why it loads them sometimes and doesn't
load them other times.  Or who is telling kmod to do so.  Can someone
explain?

Signed-off-by: Mark Huang <mlhuang@cs.princeton.edu>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-29 09:18:08 -07:00
..
2006-09-29 09:18:07 -07:00
2006-09-11 13:32:30 -04:00
2005-04-16 15:20:36 -07:00
2006-03-26 08:57:03 -08:00
2005-10-08 15:00:57 -07:00
2006-09-16 12:54:32 -07:00
2006-07-03 15:27:04 -07:00
2006-09-29 09:18:06 -07:00
2005-04-16 15:20:36 -07:00
2006-09-26 10:52:28 +02:00
2006-04-19 16:27:18 -07:00
2006-07-10 13:24:25 -07:00