summarylogtreecommitdiffstats
path: root/0002-kernel-4.7-async-initialized.patch
diff options
context:
space:
mode:
authorChris Severance2021-09-14 11:44:14 -0400
committerChris Severance2021-09-14 11:44:14 -0400
commitb7fd9ffbafed58f491d64bcd121810ac9f0a6083 (patch)
tree1108362f3376737e2c1df839175baf81c0760a91 /0002-kernel-4.7-async-initialized.patch
parent9899f09296a1ab5afbef8b54a615eee0b437ada7 (diff)
downloadaur-b7fd9ffbafed58f491d64bcd121810ac9f0a6083.tar.gz
autu: Update to 3.9.2_4-3
Diffstat (limited to '0002-kernel-4.7-async-initialized.patch')
-rw-r--r--0002-kernel-4.7-async-initialized.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/0002-kernel-4.7-async-initialized.patch b/0002-kernel-4.7-async-initialized.patch
new file mode 100644
index 000000000000..03a177bad8f1
--- /dev/null
+++ b/0002-kernel-4.7-async-initialized.patch
@@ -0,0 +1,18 @@
+diff -pNaru5 perle-serial-3.9.2.orig-0002/pserial/perle-serial.c perle-serial-3.9.2/pserial/perle-serial.c
+--- perle-serial-3.9.2.orig-0002/pserial/perle-serial.c 2021-09-14 11:10:48.772141908 -0400
++++ perle-serial-3.9.2/pserial/perle-serial.c 2021-09-14 11:10:59.679207370 -0400
+@@ -70,10 +70,14 @@
+ * SERIAL_PARANOIA_CHECK
+ * Check the magic number for the async_structure where
+ * ever possible.
+ */
+
++#undef __KERNEL__
++#include <linux/tty_flags.h>
++#define __KERNEL__ 1
++
+ #include <linux/version.h>
+ #if ! defined (LINUX_VERSION_CODE)
+ #error "Kernel version is not set"
+ #endif
+