summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0089-printk-add-syslog_lock.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches-rt/0089-printk-add-syslog_lock.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches-rt/0089-printk-add-syslog_lock.patch b/debian/patches-rt/0089-printk-add-syslog_lock.patch
index 42e77e5ab..650f1d170 100644
--- a/debian/patches-rt/0089-printk-add-syslog_lock.patch
+++ b/debian/patches-rt/0089-printk-add-syslog_lock.patch
@@ -1,8 +1,8 @@
-From 5521ed0e06ffc572d9f0ebf5421ab23288899804 Mon Sep 17 00:00:00 2001
+From 02a8f30f0b30c4feb65fd90ad193d6b39b130164 Mon Sep 17 00:00:00 2001
From: John Ogness <john.ogness@linutronix.de>
Date: Thu, 10 Dec 2020 16:58:02 +0106
Subject: [PATCH 089/323] printk: add syslog_lock
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.204-rt100.tar.xz
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.215-rt107.tar.xz
The global variables @syslog_seq, @syslog_partial, @syslog_time
and write access to @clear_seq are protected by @logbuf_lock.
@@ -21,7 +21,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 37 insertions(+), 4 deletions(-)
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
-index a351ed400c04..986fc9fad210 100644
+index 818e99d359da0..fb33db0b143b9 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -392,8 +392,12 @@ DEFINE_RAW_SPINLOCK(logbuf_lock);
@@ -141,7 +141,7 @@ index a351ed400c04..986fc9fad210 100644
logbuf_unlock_irq();
break;
/* Size of the log buffer */
-@@ -2995,7 +3023,12 @@ void register_console(struct console *newcon)
+@@ -3024,7 +3052,12 @@ void register_console(struct console *newcon)
*/
exclusive_console = newcon;
exclusive_console_stop_seq = console_seq;
@@ -155,5 +155,5 @@ index a351ed400c04..986fc9fad210 100644
}
console_unlock();
--
-2.43.0
+2.44.0