diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-10-13 18:55:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-13 20:18:28 -0400 |
commit | 63a12d9d01831208a47f5c0fbbf93f503d1fb162 (patch) | |
tree | 2df74c48943740a6ad83d9909837512eaf0c2353 /init | |
parent | 4c6327dfaf20d6207efa765320748fd8699f74b0 (diff) |
kernel/param: consolidate __{start,stop}___param[] in <linux/moduleparam.h>
Consolidate the various external const and non-const declarations of
__start___param[] and __stop___param in <linux/moduleparam.h>. This
requires making a few struct kernel_param pointers in kernel/params.c
const.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/init/main.c b/init/main.c index 89ec862da2d4..800a0daede7e 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -501,7 +501,6 @@ asmlinkage __visible void __init start_kernel(void) | |||
501 | { | 501 | { |
502 | char *command_line; | 502 | char *command_line; |
503 | char *after_dashes; | 503 | char *after_dashes; |
504 | extern const struct kernel_param __start___param[], __stop___param[]; | ||
505 | 504 | ||
506 | /* | 505 | /* |
507 | * Need to run as early as possible, to initialize the | 506 | * Need to run as early as possible, to initialize the |
@@ -844,7 +843,6 @@ static char *initcall_level_names[] __initdata = { | |||
844 | 843 | ||
845 | static void __init do_initcall_level(int level) | 844 | static void __init do_initcall_level(int level) |
846 | { | 845 | { |
847 | extern const struct kernel_param __start___param[], __stop___param[]; | ||
848 | initcall_t *fn; | 846 | initcall_t *fn; |
849 | 847 | ||
850 | strcpy(initcall_command_line, saved_command_line); | 848 | strcpy(initcall_command_line, saved_command_line); |