build: remove support for Linux 2.6.26

This commit is contained in:
Jan Engelhardt
2012-10-16 00:30:01 +02:00
parent a7fbf4f4de
commit 5e020d380c
3 changed files with 4 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
HEAD
====
Changes:
- remove support for Linux 2.6.17--2.6.25
- remove support for Linux 2.6.17--2.6.26
v1.47.1 (2010-10-15)

View File

@@ -22,11 +22,7 @@
#include <net/tcp.h>
#include <linux/netfilter_ipv4/ip_tables.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
#include <linux/semaphore.h>
#else
#include <asm/semaphore.h>
#endif
#include <linux/kernel.h>
#include <linux/mm.h>

View File

@@ -8,8 +8,8 @@
#define DEBUGP Use__pr_debug__instead
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26)
# warning Kernels below 2.6.26 not supported.
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27)
# warning Kernels below 2.6.27 not supported.
#endif
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)