mirror of
https://github.com/dynup/kpatch
synced 2025-01-26 06:42:50 +00:00
27766f00d8
Signed-off-by: Yannick Cote <ycote@redhat.com>
14 lines
487 B
Diff
14 lines
487 B
Diff
diff -Nupr src.orig/drivers/tty/tty_buffer.c src/drivers/tty/tty_buffer.c
|
|
--- src.orig/drivers/tty/tty_buffer.c 2020-03-17 01:12:58.012113306 -0400
|
|
+++ src/drivers/tty/tty_buffer.c 2020-03-17 01:13:46.342793643 -0400
|
|
@@ -256,6 +256,9 @@ static int __tty_buffer_request_room(str
|
|
struct tty_buffer *b, *n;
|
|
int left, change;
|
|
|
|
+ if (!size)
|
|
+ printk("kpatch-test: testing .smp_locks section changes\n");
|
|
+
|
|
b = buf->tail;
|
|
if (b->flags & TTYB_NORMAL)
|
|
left = 2 * b->size - b->used;
|