summarylogtreecommitdiffstats
path: root/0000-kernel-4.11-signal_pending.patch
blob: d356aca2430da264e28cda71870a4139e5ecd895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -pNaru5 perle-serial-3.9.2.orig-0000/pparport26/pparport_pc.c perle-serial-3.9.2/pparport26/pparport_pc.c
--- perle-serial-3.9.2.orig-0000/pparport26/pparport_pc.c	2018-06-05 21:24:34.315840847 -0400
+++ perle-serial-3.9.2/pparport26/pparport_pc.c	2018-06-05 21:24:10.199248040 -0400
@@ -66,10 +66,13 @@
 #include <asm/dma.h>
 #include <asm/uaccess.h>
 
 #include <linux/parport.h>
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
+#include <linux/sched/signal.h>
+#endif
 
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0))
 #define __devinit
 #define __devinitdata
 #define __devexit