Skip to content

Commit

Permalink
init: reduce logging, remove ftrace
Browse files Browse the repository at this point in the history
  • Loading branch information
arter97 authored and mukul2259 committed Apr 10, 2020
1 parent de59885 commit f696223
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,13 @@ EXPORT_SYMBOL(loops_per_jiffy);

static int __init debug_kernel(char *str)
{
console_loglevel = 10;
console_loglevel = 0;
return 0;
}

static int __init quiet_kernel(char *str)
{
console_loglevel = 4;
console_loglevel = 0;
return 0;
}

Expand Down Expand Up @@ -642,8 +642,6 @@ asmlinkage void __init start_kernel(void)
efi_free_boot_services();
}

ftrace_init();

/* Do the rest non-__init'ed, we're now alive */
rest_init();
}
Expand Down

0 comments on commit f696223

Please sign in to comment.