]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - init/main.c
init: add comments to keep initcall-names in sync with initcall levels
authorJim Cromie <jim.cromie@gmail.com>
Thu, 14 Jun 2012 22:00:59 +0000 (16:00 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 26 Jul 2012 23:59:42 +0000 (09:29 +0930)
commit96263d2863ab5dfe101bf4dec74e3508cc5d003d
tree6cc641485b9cfabc322f560d68ce65017c97243b
parentc777ad69185de908a0d571abbaec117392b3ad1b
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>
include/linux/init.h
init/main.c