aboutsummaryrefslogtreecommitdiff
path: root/Documentation/filesystems/configfs/configfs_example.c
diff options
context:
space:
mode:
authorIvan Kokshaysky <[email protected]>2008-02-13 15:03:26 -0800
committerLinus Torvalds <[email protected]>2008-02-13 16:21:19 -0800
commit91d35dd93e14c34539a8005183ea500f25caad02 (patch)
tree1bb38d5b7d903881e23f2350bf0d3616746e4509 /Documentation/filesystems/configfs/configfs_example.c
parentbc2cda1ebd4430f55deb60f0193a3e3b835499a2 (diff)
moduleparam: fix alpha, ia64 and ppc64 compile failures
On alpha, ia64 and ppc64 only relocations to local data can go into read-only sections. The vast majority of module parameters use the global generic param_set_*/param_get_* functions, so the 'const' attribute for struct kernel_param is not only useless, but it also causes compile failures due to 'section type conflict' in those rare cases where param_set/get are local functions. This fixes http://bugzilla.kernel.org/show_bug.cgi?id=8964 Signed-off-by: Ivan Kokshaysky <[email protected]> Cc: Richard Henderson <[email protected]> Cc: "Luck, Tony" <[email protected]> Cc: Anton Blanchard <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Adrian Bunk <[email protected]> Cc: Kamalesh Babulal <[email protected]> Cc: Rusty Russell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'Documentation/filesystems/configfs/configfs_example.c')
0 files changed, 0 insertions, 0 deletions