From: Rusty Russell Date: Wed, 22 Oct 2008 15:00:23 +0000 (-0500) Subject: core_param() for genuinely core kernel parameters X-Git-Tag: v2.6.28-rc1~36^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67e67ceaac5bf55dbdceb704ff2d763d438b5373;p=pandora-kernel.git core_param() for genuinely core kernel parameters There are a lot of one-liner uses of __setup() in the kernel: they're cumbersome and not queryable (definitely not settable) via /sys. Yet it's ugly to simplify them to module_param(), because by default that inserts a prefix of the module name (usually filename). So, introduce a "core_param". The parameter gets no prefix, but appears in /sys/module/kernel/parameters/ (if non-zero perms arg). I thought about using the name "core", but that's more common than "kernel". And if you create a module called "kernel", you will die a horrible death. Signed-off-by: Rusty Russell --- Reading git-diff-tree failed