summaryrefslogtreecommitdiff
path: root/backport/backport-include/linux/static_key.h
diff options
context:
space:
mode:
Diffstat (limited to 'backport/backport-include/linux/static_key.h')
-rw-r--r--backport/backport-include/linux/static_key.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/backport/backport-include/linux/static_key.h b/backport/backport-include/linux/static_key.h
index d301a75d..4b82eec2 100644
--- a/backport/backport-include/linux/static_key.h
+++ b/backport/backport-include/linux/static_key.h
@@ -3,7 +3,7 @@
#include <linux/version.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) /* kernels >= 3.3 */
+#if LINUX_VERSION_IS_GEQ(3,3,0) /* kernels >= 3.3 */
/*
* XXX: NOTE!
*
@@ -13,7 +13,7 @@
* kernels 3.3..3.4 don't have it and include <linux/jump_label.h> instead,
* and for newer kernels include <linux/static_key.h>.
*/
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)
+#if LINUX_VERSION_IS_GEQ(3,5,0)
#include_next <linux/static_key.h>
#else
#include <linux/jump_label.h>