]> xenbits.xen.org Git - xenclient/kernel.git/commit
commit d10be6d1bdb0c901b78244872de3cc1c1b6c3fb2 revert-linux-2.6.18-xen.hg-582.b29a06ba7a5f
authort_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:20 +0000 (12:05 +0000)
committert_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:20 +0000 (12:05 +0000)
commit50549dc1220faa7e07fdd7e7854fb75ac303d509
tree59c5b9d088dea9f97fd26a079f2ad90c42a6a073
parent4c32908ddf1deebc6a9b61930af19cf87c92df05
commit d10be6d1bdb0c901b78244872de3cc1c1b6c3fb2
Author: Mark Huang <mlhuang@CS.Princeton.EDU>
Date:   Fri Sep 29 01:59:34 2006 -0700

    [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>
kernel/params.c