summaryrefslogtreecommitdiff
path: root/scripts/empty.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-09-09 10:19:11 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-09-09 10:19:11 -0700
commitf261ecb2f4e62a0d02925a4e549a2fe5dad503d8 (patch)
tree43292be369289f9ade3c935b7e60493ebdca0ca8 /scripts/empty.c
parentf5347e3042812699f550b30e81f0e3f96b401925 (diff)
[PATCH] Move ikconfig to /proc/config.gz
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.
Diffstat (limited to 'scripts/empty.c')
0 files changed, 0 insertions, 0 deletions