From 1ca4ce5a2d0992b0c324741e325d26ca624cf0be Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 10 Apr 2019 20:44:14 +0200 Subject: [PATCH] Updated kernel/panic.c: Added megumin Kernel prints ASCII art of megumin on Panic. Why? Because. --- kernel/panic.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/kernel/panic.c b/kernel/panic.c index 0ae0d7332f12..0a8ad8757ab6 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -8,6 +8,7 @@ * This function is used through-out the kernel (including mm and fs) * to indicate a major problem. */ + #include #include #include @@ -167,6 +168,58 @@ void panic(const char *fmt, ...) int old_cpu, this_cpu; bool _crash_kexec_post_notifiers = crash_kexec_post_notifiers; + const char* megumin[] = { + " #=&&%%%%%%%%%%%%%%%%%%%%%%%%%%%&$ ", + " $&???????????%%%%%%%%%%%%%%%%%%%%%& ", + " &%///???????????????????%%%%???????%%$ ", + " $%////////////??????????????????????????& ", + " $%!!!!!!!!!!!!!////????????????????//////??$ ", + " $?