summaryrefslogtreecommitdiff
path: root/backport/backport-include/linux/lockdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'backport/backport-include/linux/lockdep.h')
-rw-r--r--backport/backport-include/linux/lockdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/backport/backport-include/linux/lockdep.h b/backport/backport-include/linux/lockdep.h
index 3974b8d7..5a5d0d0e 100644
--- a/backport/backport-include/linux/lockdep.h
+++ b/backport/backport-include/linux/lockdep.h
@@ -3,7 +3,7 @@
#include_next <linux/lockdep.h>
#include <linux/version.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0)
+#if LINUX_VERSION_IS_LESS(3,9,0)
#undef lockdep_assert_held
#ifdef CONFIG_LOCKDEP
#define lockdep_assert_held(l) do { \
@@ -12,6 +12,6 @@
#else
#define lockdep_assert_held(l) do { (void)(l); } while (0)
#endif /* CONFIG_LOCKDEP */
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0) */
+#endif /* LINUX_VERSION_IS_LESS(3,9,0) */
#endif /* __BACKPORT_LINUX_LOCKDEP_H */