summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-07 21:25:30 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-07 21:25:30 +0000
commit6fca4c0f3aae0b27d90bf5e2110831aab473fda0 (patch)
tree96182a1142012cafc887c8b3df34bb6334f5fbcf /wct4xxp
parented3631e7912e678ab02c72158f6a2a2c0a1666ff (diff)
Merged revisions 2119 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2119 | kpfleming | 2007-02-07 15:22:44 -0600 (Wed, 07 Feb 2007) | 2 lines don't allow wct4xxp workqueue support to be built against kernel 2.6.20... it's not going to work ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2120 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp')
-rw-r--r--wct4xxp/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index a2e5101..3811a95 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -66,7 +66,7 @@
/* Work queues are a way to better distribute load on SMP systems */
-#ifdef LINUX26
+#if defined(LINUX26) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20))
/*
* Work queues can significantly improve performance and scalability
* on multi-processor machines, but requires bypassing some kernel