summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCNSS_WLAN Service <cnssbldsw@qualcomm.com>2017-09-06 19:06:30 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-09-06 19:06:30 -0700
commit1aa602c4f01dcb4eda80d05c44e050bb0ab6b549 (patch)
treed3dcceb89a41e8d0d746156144edb229063a1fad
parentbb1c438c2f06ec00726a388d6b774391143bb782 (diff)
parentfa927eb5f5081c012a20f0a311408e4576f596d5 (diff)
Merge "qcacmn: Migrate to linux/sched/signal.h" into wlan-cmn.driver.lnx.1.0
-rw-r--r--qdf/linux/src/qdf_threads.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/qdf/linux/src/qdf_threads.c b/qdf/linux/src/qdf_threads.c
index 2eb0c247b342..928517572190 100644
--- a/qdf/linux/src/qdf_threads.c
+++ b/qdf/linux/src/qdf_threads.c
@@ -36,7 +36,11 @@
#include <qdf_trace.h>
#include <qdf_module.h>
#include <linux/jiffies.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
#include <linux/sched.h>
+#else
+#include <linux/sched/signal.h>
+#endif /* KERNEL_VERSION(4, 11, 0) */
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/export.h>