summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2018-03-22 19:28:54 -0400
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-03-23 11:15:21 -0400
commita6fb6012ed4ec0450389693421a954a4c3740bec (patch)
treed5e9d910e3cf13c9e6ae05945ba15e074eda089e /init
parent5e4cf2bf6d1c198a90ccc0df5ffd8e0d4ea36b48 (diff)
downloadlinux-a6fb6012ed4ec0450389693421a954a4c3740bec.tar.gz
linux-a6fb6012ed4ec0450389693421a954a4c3740bec.tar.bz2
linux-a6fb6012ed4ec0450389693421a954a4c3740bec.zip
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>
Diffstat (limited to 'init')
-rw-r--r--init/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c
index 969eaf140ef0..0ebdd5f15be8 100644
--- a/init/main.c
+++ b/init/main.c
@@ -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",