fix build on 4.11
Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
This commit is contained in:
parent
942fadc305
commit
8d0c180b73
|
@ -57,6 +57,7 @@
|
|||
#include <linux/kthread.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/signal.h>
|
||||
|
||||
#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,41))
|
||||
#include <linux/tqueue.h>
|
||||
|
@ -68,6 +69,10 @@
|
|||
#include <linux/limits.h>
|
||||
#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0))
|
||||
#include <linux/sched/signal.h>
|
||||
#endif
|
||||
|
||||
#ifdef RTK_DMP_PLATFORM
|
||||
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12))
|
||||
#include <linux/pageremap.h>
|
||||
|
|
Loading…
Reference in a new issue