1 --- a/backport-include/linux/wait.h
2 +++ b/backport-include/linux/wait.h
3 @@ -23,7 +23,7 @@ backport_wait_on_bit_io(void *word, int
7 -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0)
8 +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,18,12)
9 #define WQ_FLAG_WOKEN 0x02
11 #define wait_woken LINUX_BACKPORT(wait_woken)
12 --- a/compat/backport-3.19.c
13 +++ b/compat/backport-3.19.c
15 #include <linux/netdevice.h>
16 #include <linux/debugfs.h>
18 +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,18,12)
19 static inline bool is_kthread_should_stop(void)
21 return (current->flags & PF_KTHREAD) && kthread_should_stop();
22 @@ -79,6 +80,7 @@ int woken_wake_function(wait_queue_t *wa
23 return default_wake_function(wait, mode, sync, key);
25 EXPORT_SYMBOL(woken_wake_function);
28 #ifdef __BACKPORT_NETDEV_RSS_KEY_FILL
29 u8 netdev_rss_key[NETDEV_RSS_KEY_LEN];