mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-06-05 22:19:21 +02:00
[All] The big version jump one again
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
From 0bf91edda99d29abc55c6fa18dc19a610611e549 Mon Sep 17 00:00:00 2001
|
||||
From eea34fa9a5e6e5ef9b0c2df58e6102128f978177 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Gleixner <tglx@linutronix.de>
|
||||
Date: Sat, 16 Sep 2023 21:26:03 +0206
|
||||
Subject: [PATCH 104/196] printk: nbcon: Add buffer management
|
||||
Subject: [PATCH 104/198] printk: nbcon: Add buffer management
|
||||
|
||||
In case of hostile takeovers it must be ensured that the previous
|
||||
owner cannot scribble over the output buffer of the emergency/panic
|
||||
@ -263,10 +263,10 @@ index a2a354f859f9..ba1febf15db6 100644
|
||||
+ con->pbufs = NULL;
|
||||
}
|
||||
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
|
||||
index eff5036c82c0..51be6b65c3cf 100644
|
||||
index 3bb689b6ae19..edb0f9737bb9 100644
|
||||
--- a/kernel/printk/printk.c
|
||||
+++ b/kernel/printk/printk.c
|
||||
@@ -3331,12 +3331,6 @@ static void try_enable_default_console(struct console *newcon)
|
||||
@@ -3381,12 +3381,6 @@ static void try_enable_default_console(struct console *newcon)
|
||||
newcon->flags |= CON_CONSDEV;
|
||||
}
|
||||
|
||||
@ -279,7 +279,7 @@ index eff5036c82c0..51be6b65c3cf 100644
|
||||
static void console_init_seq(struct console *newcon, bool bootcon_registered)
|
||||
{
|
||||
struct console *con;
|
||||
@@ -3450,6 +3444,15 @@ void register_console(struct console *newcon)
|
||||
@@ -3500,6 +3494,15 @@ void register_console(struct console *newcon)
|
||||
goto unlock;
|
||||
}
|
||||
|
||||
@ -295,7 +295,7 @@ index eff5036c82c0..51be6b65c3cf 100644
|
||||
/*
|
||||
* See if we want to enable this console driver by default.
|
||||
*
|
||||
@@ -3477,8 +3480,11 @@ void register_console(struct console *newcon)
|
||||
@@ -3527,8 +3530,11 @@ void register_console(struct console *newcon)
|
||||
err = try_enable_preferred_console(newcon, false);
|
||||
|
||||
/* printk() messages are not printed to the Braille console. */
|
||||
@ -308,7 +308,7 @@ index eff5036c82c0..51be6b65c3cf 100644
|
||||
|
||||
/*
|
||||
* If we have a bootconsole, and are switching to a real console,
|
||||
@@ -3589,7 +3595,7 @@ static int unregister_console_locked(struct console *console)
|
||||
@@ -3639,7 +3645,7 @@ static int unregister_console_locked(struct console *console)
|
||||
synchronize_srcu(&console_srcu);
|
||||
|
||||
if (console->flags & CON_NBCON)
|
||||
@ -318,5 +318,5 @@ index eff5036c82c0..51be6b65c3cf 100644
|
||||
console_sysfs_notify();
|
||||
|
||||
--
|
||||
2.43.2
|
||||
2.44.0
|
||||
|
||||
|
Reference in New Issue
Block a user