signal_pending() is now in linux/sched/signal.h include
Upstream kernel 4.11, in commit (bd0f9b356d00aa241ced36fb075a07041c28d3b8 "sched/headers: fix up header file dependency on <linux/sched/signal.h>"), now requires users of signal_pending to include the new linux/sched/signal.h file. Signed-off-by: Shaun Ruffell <sruffell@digium.com>
This commit is contained in:
committed by
Tzafrir Cohen
parent
7ab8780c25
commit
ff88ccb1cd
@@ -66,6 +66,11 @@
|
||||
/* Grab fasthdlc with tables */
|
||||
#define FAST_HDLC_NEED_TABLES
|
||||
#include <dahdi/kernel.h>
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
|
||||
#include <linux/sched/signal.h>
|
||||
#endif /* 4.11.0 */
|
||||
|
||||
#include "ecdis.h"
|
||||
#include "dahdi.h"
|
||||
|
||||
|
||||
@@ -50,6 +50,10 @@
|
||||
#include <dahdi/kernel.h>
|
||||
#include <dahdi/wctdm_user.h>
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
|
||||
#include <linux/sched/signal.h>
|
||||
#endif /* 4.11.0 */
|
||||
|
||||
#include "proslic.h"
|
||||
|
||||
#include <dahdi/kernel.h>
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <linux/slab.h>
|
||||
#include <linux/kmod.h>
|
||||
#include <linux/sched.h>
|
||||
|
||||
#include <linux/pci.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/delay.h>
|
||||
@@ -40,7 +41,12 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "dahdi/kernel.h"
|
||||
#include <dahdi/kernel.h>
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
|
||||
#include <linux/sched/signal.h>
|
||||
#endif /* 4.11.0 */
|
||||
|
||||
|
||||
#include <linux/io.h>
|
||||
|
||||
|
||||
@@ -44,6 +44,7 @@ Tx Gain - W/Pre-Emphasis: -23.99 to 0.00 db
|
||||
#include <linux/init.h>
|
||||
#include <linux/pci.h>
|
||||
#include <linux/sched.h>
|
||||
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/workqueue.h>
|
||||
#include <linux/delay.h>
|
||||
@@ -72,6 +73,10 @@ Tx Gain - W/Pre-Emphasis: -23.99 to 0.00 db
|
||||
#include <dahdi/kernel.h>
|
||||
#include <dahdi/wctdm_user.h>
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
|
||||
#include <linux/sched/signal.h>
|
||||
#endif /* 4.11.0 */
|
||||
|
||||
#include "proslic.h"
|
||||
|
||||
#include "wctdm24xxp.h"
|
||||
|
||||
@@ -40,11 +40,16 @@
|
||||
#include <linux/workqueue.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/sched.h>
|
||||
|
||||
#include <linux/slab.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <dahdi/kernel.h>
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
|
||||
#include <linux/sched/signal.h>
|
||||
#endif /* 4.11.0 */
|
||||
|
||||
#include "wct4xxp/wct4xxp.h" /* For certain definitions */
|
||||
|
||||
#include "voicebus/voicebus.h"
|
||||
|
||||
@@ -46,6 +46,10 @@
|
||||
#include <stdbool.h>
|
||||
#include <dahdi/kernel.h>
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
|
||||
#include <linux/sched/signal.h>
|
||||
#endif /* 4.11.0 */
|
||||
|
||||
#include "wct4xxp/wct4xxp.h" /* For certain definitions */
|
||||
#include "wcxb.h"
|
||||
#include "wcxb_spi.h"
|
||||
|
||||
Reference in New Issue
Block a user