]> git.baikalelectronics.ru Git - kernel.git/commit
init: Fix initcall0 name as it is "pure" not "early"
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 22 Mar 2018 23:28:54 +0000 (19:28 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 23 Mar 2018 15:15:21 +0000 (11:15 -0400)
commit144df29205e9ba3f0e8dadd13c5f3cab3644d35d
treed5e9d910e3cf13c9e6ae05945ba15e074eda089e
parent6f846f7ee30e50572fd58a33b577a32ce000649c
init: Fix initcall0 name as it is "pure" not "early"

The early_initcall() functions get assigned to __initcall_start[]. These are
called by do_pre_smp_initcalls(). The initcall_levels[] array starts with
__initcall0_start[], and initcall_levels[] are to match the
initcall_level_names[] array. The first name in that array is "early", but
that is not correct. As pure_initcall() functions get assigned to
__initcall0_start[] array.

Change the first name in initcall_level_names[] array to "pure".

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
init/main.c