• Greg Kroah-Hartman's avatar
    Add modules to sysfs · b863a25d
    Greg Kroah-Hartman authored
    This patch adds basic kobject support to struct module, and it creates a 
    /sys/module directory which contains all of the individual modules.  Each
    module currently exports the refcount (if they are unloadable) and any
    module paramaters that are marked exportable in sysfs.
    
    Was written by me and Rusty over and over many times during the past 6 months.
    b863a25d
module.c 51.4 KB