History

panic: make print_oops_end_marker() static

Since print_oops_end_marker() is not used externally, also remove it in kernel.h at the same time.

Yue Hu committed 6 years ago

Commit 63037f71 parent 9d5b1342 files · +1 −2Browse files

Showing the changes to kernel (1 of 2 files). Show all

Unified · Split

kernel/panic.c+1−1
@@ -551,7 +551,7 @@ static int init_oops_id(void) · 550 unmodified lines
551}551}
552late_initcall(init_oops_id);552late_initcall(init_oops_id);
553 553
554void print_oops_end_marker(void)554static void print_oops_end_marker(void)
555{555{
556 init_oops_id();556 init_oops_id();
557 pr_warn("---[ end trace %016llx ]---\n", (unsigned long long)oops_id);557 pr_warn("---[ end trace %016llx ]---\n", (unsigned long long)oops_id);