CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
orangepi-xunlong

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: orangepi-xunlong/orangepi-build
Path: blob/next/external/patch/misc/0008-bootsplash.patch
Views: 3959
1
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c
2
index 3ffc1ce29023..bc6a24c9dfa8 100644
3
--- a/drivers/tty/sysrq.c
4
+++ b/drivers/tty/sysrq.c
5
@@ -49,6 +49,7 @@
6
#include <linux/syscalls.h>
7
#include <linux/of.h>
8
#include <linux/rcupdate.h>
9
+#include <linux/bootsplash.h>
10
11
#include <asm/ptrace.h>
12
#include <asm/irq_regs.h>
13
@@ -104,6 +105,8 @@ static void sysrq_handle_SAK(int key)
14
{
15
struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work;
16
schedule_work(SAK_work);
17
+
18
+ bootsplash_disable();
19
}
20
static struct sysrq_key_op sysrq_SAK_op = {
21
.handler = sysrq_handle_SAK,
22
23