• Andrew Morton's avatar
    [PATCH] Move ikconfig to /proc/config.gz · f261ecb2
    Andrew Morton authored
    From: "Randy.Dunlap" <randy.dunlap@verizon.net>
    
    
    The SuSE kernels place their ikconfig info at /proc/config.gz: in a
    different place, and compressed.  We thought it was a good idea to do it
    that way in 2.6 as well.
    
    - gzip the /proc config file, put it in /proc/config.gz;
    
    - Based on a SuSE patch by Oliver Xymoron <oxymoron@waste.org>, which was
      derived from a patch by Nicholas Leon <nicholas@binary9.net>
    
    - change /proc/ikconfig/built_with to /proc/config_build_info;
    
    - cleanup ikconfig init/exit entry points (static, __init, __exit);
    
    - Makefile help from Sam Ravnborg;
    
    DESC
    ikconfig cleanup
    EDESC
    From: Stephen Hemminger <shemminger@osdl.org>
    
    Simplify and cleanup the code:
    	- use single interface to seq_file where possible
    	- don't need to do as much of the /proc interface, only read
    	- use copy_to_user to avoid char at a time copy
    	- remove unneccesary globals
    	- use const char[] rather than const char * where possible.
    
    Didn't change the version since interface doesn't change.
    f261ecb2
Makefile 1.23 KB