summarylogtreecommitdiffstats
path: root/linux-cjktty-patch-for-5.4.62+.patch
diff options
context:
space:
mode:
Diffstat (limited to 'linux-cjktty-patch-for-5.4.62+.patch')
-rw-r--r--linux-cjktty-patch-for-5.4.62+.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/linux-cjktty-patch-for-5.4.62+.patch b/linux-cjktty-patch-for-5.4.62+.patch
new file mode 100644
index 00000000000..4f6e7877c5d
--- /dev/null
+++ b/linux-cjktty-patch-for-5.4.62+.patch
@@ -0,0 +1,11 @@
+--- linux-cjktty-5.4.61.patch 2020-09-05 10:35:09.000000000 +0800
++++ linux-cjktty-5.4.62.patch 2020-09-05 20:41:19.000000000 +0800
+@@ -169,7 +169,7 @@
+ + scr_memsetw((void *)new_origin + (new_screen_size), vc->vc_video_erase_char,
+ + new_scr_end - new_origin);
+ + }
+- kfree(vc->vc_screenbuf);
++ oldscreen = vc->vc_screenbuf;
+ vc->vc_screenbuf = newscreen;
+ vc->vc_screenbuf_size = new_screen_size;
+ @@ -2601,6 +2635,8 @@ static int do_con_write(struct tty_struct *tty, const unsigned char *buf, int co