fix build on 4.11

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
This commit is contained in:
Icenowy Zheng 2017-03-18 16:31:47 +08:00
parent 942fadc305
commit 8d0c180b73

View file

@ -57,6 +57,7 @@
#include <linux/kthread.h> #include <linux/kthread.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/signal.h>
#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,41)) #if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,41))
#include <linux/tqueue.h> #include <linux/tqueue.h>
@ -68,6 +69,10 @@
#include <linux/limits.h> #include <linux/limits.h>
#endif #endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0))
#include <linux/sched/signal.h>
#endif
#ifdef RTK_DMP_PLATFORM #ifdef RTK_DMP_PLATFORM
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12)) #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12))
#include <linux/pageremap.h> #include <linux/pageremap.h>