Skip to content

Commit c60d4e1

Browse files
mawrick26DhineshCool
authored andcommitted
init: reduce logging & remove ftrace
Signed-off-by: mawrick26 <mawrick26@gmail.com>
1 parent 2c6dc3f commit c60d4e1

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

init/main.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,13 @@ EXPORT_SYMBOL(loops_per_jiffy);
201201

202202
static int __init debug_kernel(char *str)
203203
{
204-
console_loglevel = CONSOLE_LOGLEVEL_DEBUG;
204+
console_loglevel = 0;
205205
return 0;
206206
}
207207

208208
static int __init quiet_kernel(char *str)
209209
{
210-
console_loglevel = CONSOLE_LOGLEVEL_QUIET;
210+
console_loglevel = 0;
211211
return 0;
212212
}
213213

@@ -674,8 +674,6 @@ asmlinkage __visible void __init start_kernel(void)
674674
efi_free_boot_services();
675675
}
676676

677-
ftrace_init();
678-
679677
/* Do the rest non-__init'ed, we're now alive */
680678
rest_init();
681679

0 commit comments

Comments
 (0)