summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0021-serial-8250-implement-write_atomic.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 03:22:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 03:22:57 +0000
commitd9960f3ed9eca14ab4a96327e3141d6f5911bb43 (patch)
tree4ccef5191aa34d62d8f385644be6e2dff0c8dea7 /debian/patches-rt/0021-serial-8250-implement-write_atomic.patch
parentMerging upstream version 6.1.85. (diff)
downloadlinux-d9960f3ed9eca14ab4a96327e3141d6f5911bb43.tar.xz
linux-d9960f3ed9eca14ab4a96327e3141d6f5911bb43.zip
Adding debian version 6.1.85-1.debian/6.1.85-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches-rt/0021-serial-8250-implement-write_atomic.patch')
-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);