summaryrefslogtreecommitdiff
path: root/backport/compat/backport-3.19.c
diff options
context:
space:
mode:
Diffstat (limited to 'backport/compat/backport-3.19.c')
-rw-r--r--backport/compat/backport-3.19.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backport/compat/backport-3.19.c b/backport/compat/backport-3.19.c
index b2db9908..019644df 100644
--- a/backport/compat/backport-3.19.c
+++ b/backport/compat/backport-3.19.c
@@ -16,7 +16,7 @@
#include <linux/skbuff.h>
#include <linux/debugfs.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,18,12)
+#if LINUX_VERSION_IS_LESS(3,18,12)
static inline bool is_kthread_should_stop(void)
{
return (current->flags & PF_KTHREAD) && kthread_should_stop();