]> git.baikalelectronics.ru Git - kernel.git/commit
param: make param sections const.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Aug 2010 05:04:18 +0000 (23:04 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Aug 2010 13:34:19 +0000 (23:04 +0930)
commitf3dd596bd456bdd5dc8d4fb0df000d52b91c1df9
tree6bbcf8953012000cb0a22b47ff616ff2dbe481f2
parent0a0607ff899da38bb8eda7fb2e4eaa571dc30b44
param: make param sections const.

Since this section can be read-only (they're in .rodata), they should
always have been const.  Minor flow-through various functions.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Tested-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
include/linux/moduleparam.h
init/main.c
kernel/params.c