mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
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>
This commit is contained in:
parent
c777ad6918
commit
96263d2863
2 changed files with 3 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue