diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2012-06-15 00:00:59 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-07-27 01:59:42 +0200 |
commit | 96263d2863ab5dfe101bf4dec74e3508cc5d003d (patch) | |
tree | 6cc641485b9cfabc322f560d68ce65017c97243b /init | |
parent | cpumask: add a few comments of cpumask functions (diff) | |
download | linux-96263d2863ab5dfe101bf4dec74e3508cc5d003d.tar.xz linux-96263d2863ab5dfe101bf4dec74e3508cc5d003d.zip |
init: add comments to keep initcall-names in sync with initcall levels
main.c has initcall_level_names[] for parse_args to print in debug messages,
add comments to keep them in sync with initcalls defined in init.h.
Also add "loadable" into comment re not using *_initcall macros in
modules, to disambiguate from kernel/params.c and other builtins.
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Acked-by: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index b5cc0a7c4708..7a740870ffe3 100644 --- a/init/main.c +++ b/init/main.c @@ -724,6 +724,7 @@ static initcall_t *initcall_levels[] __initdata = { __initcall_end, }; +/* Keep these in sync with initcalls in include/linux/init.h */ static char *initcall_level_names[] __initdata = { "early", "core", |