summaryrefslogtreecommitdiffstats
path: root/kernel/ip_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ip_set.c')
-rw-r--r--kernel/ip_set.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/ip_set.c b/kernel/ip_set.c
index 8badef4..a525518 100644
--- a/kernel/ip_set.c
+++ b/kernel/ip_set.c
@@ -24,7 +24,11 @@
#include <linux/errno.h>
#include <asm/uaccess.h>
#include <asm/bitops.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
#include <asm/semaphore.h>
+#else
+#include <linux/semaphore.h>
+#endif
#include <linux/spinlock.h>
#include <linux/vmalloc.h>