[PATCH] kernel/params.c: fix sysfs access with CONFIG_MODULES=n
authorJason Wessel <jason.wessel@windriver.com>
Tue, 20 Dec 2005 14:21:24 +0000 (15:21 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 20 Dec 2005 18:31:33 +0000 (10:31 -0800)
commit9e28393998d3d0733097306762f6d1c083fc92c6
tree9cc87f8c1f936164fd570c58126ef761839f74e3
parent7e8702334841b6da4b8f564dc1771ca17c59a621
[PATCH] kernel/params.c: fix sysfs access with CONFIG_MODULES=n

All the work was done to setup the file and maintain the file handles but
the access functions were zeroed out due to the #ifdef.  Removing the
#ifdef allows full access to all the parameters when CONFIG_MODULES=n.

akpm: put it back again, but use CONFIG_SYSFS instead.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/params.c