Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6fb6012 authored by Steven Rostedt (VMware)'s avatar Steven Rostedt (VMware)
Browse files

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: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 5e4cf2bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -874,7 +874,7 @@ static initcall_t *initcall_levels[] __initdata = {

/* Keep these in sync with initcalls in include/linux/init.h */
static char *initcall_level_names[] __initdata = {
	"early",
	"pure",
	"core",
	"postcore",
	"arch",