mirror of https://github.com/dynup/kpatch
14 lines
443 B
Diff
14 lines
443 B
Diff
Index: src/drivers/tty/tty_buffer.c
|
|
===================================================================
|
|
--- src.orig/drivers/tty/tty_buffer.c
|
|
+++ src/drivers/tty/tty_buffer.c
|
|
@@ -247,6 +247,8 @@ 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;
|