From 967e84cfc0040ba37505cd0eb5c60a8621050365 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 10 Apr 2019 22:37:55 +0200 Subject: Added Panic-Megumin --- 0001-Updated-kernel-panic.c-Added-megumin.patch | 100 ++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 0001-Updated-kernel-panic.c-Added-megumin.patch diff --git a/0001-Updated-kernel-panic.c-Added-megumin.patch b/0001-Updated-kernel-panic.c-Added-megumin.patch new file mode 100644 index 0000000..3ad61bf --- /dev/null +++ b/0001-Updated-kernel-panic.c-Added-megumin.patch @@ -0,0 +1,100 @@ +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[] = { ++ " #=&&%%%%%%%%%%%%%%%%%%%%%%%%%%%&$ ", ++ " $&???????????%%%%%%%%%%%%%%%%%%%%%& ", ++ " &%///???????????????????%%%%???????%%$ ", ++ " $%////////////??????????????????????????& ", ++ " $%!!!!!!!!!!!!!////????????????????//////??$ ", ++ " $?