summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 10:15:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 10:18:11 +0000
commitbe73b1d84399bcab2ddf56a346b2430ac94b26b0 (patch)
tree1a71a0dccb4cf23b5633ddc6c770edc36542c106 /debian/patches-rt
parentMerging upstream version 6.1.85. (diff)
downloadlinux-be73b1d84399bcab2ddf56a346b2430ac94b26b0.tar.xz
linux-be73b1d84399bcab2ddf56a346b2430ac94b26b0.zip
Merging debian version 6.1.85-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches-rt')
-rw-r--r--debian/patches-rt/0021-serial-8250-implement-write_atomic.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/debian/patches-rt/0021-serial-8250-implement-write_atomic.patch b/debian/patches-rt/0021-serial-8250-implement-write_atomic.patch
index c2cad2d25..a639532c3 100644
--- a/debian/patches-rt/0021-serial-8250-implement-write_atomic.patch
+++ b/debian/patches-rt/0021-serial-8250-implement-write_atomic.patch
@@ -576,32 +576,6 @@ index 8efe31448df3..975c16267196 100644
int irq;
if (port->flags & UPF_FOURPORT) {
-@@ -1377,8 +1418,12 @@ static void autoconfig_irq(struct uart_8250_port *up)
- inb_p(ICP);
- }
-
-- if (uart_console(port))
-+ is_console = uart_console(port);
-+
-+ if (is_console) {
- console_lock();
-+ printk_cpu_sync_get_irqsave(flags);
-+ }
-
- /* forget possible initially masked and pending IRQ */
- probe_irq_off(probe_irq_on());
-@@ -1410,8 +1455,10 @@ static void autoconfig_irq(struct uart_8250_port *up)
- if (port->flags & UPF_FOURPORT)
- outb_p(save_ICP, ICP);
-
-- if (uart_console(port))
-+ if (is_console) {
-+ printk_cpu_sync_put_irqrestore(flags);
- console_unlock();
-+ }
-
- port->irq = (irq > 0) ? irq : 0;
- }
@@ -1424,7 +1471,7 @@ static void serial8250_stop_rx(struct uart_port *port)
up->ier &= ~(UART_IER_RLSI | UART_IER_RDI);