aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/compat.h b/src/compat.h
index 5efb4e4..eb4f31b 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -25,14 +25,6 @@
#define net_dbg_ratelimited(fmt, ...) do { if (0) no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__); } while (0)
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)
-#include <linux/security.h>
-#ifdef GRSECURITY_VERSION
-#include <linux/random.h>
-#endif
-#define get_random_long() (((u64)get_random_int() << 32) | get_random_int())
-#endif
-
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 3, 0)
#define RCU_LOCKDEP_WARN(cond, message) rcu_lockdep_assert(!(cond), message)
#endif