summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-07 21:26:36 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-07 21:26:36 +0000
commit2fe01ba652d0949f3a46db252f3173dd223b40c2 (patch)
treee8753a408d49d679336ad4e87cf989508b67b6db /wct4xxp
parent6b5a137f0dced59236504e7210587e9afcac79ff (diff)
Merged revisions 2120 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2120 | kpfleming | 2007-02-07 15:25:30 -0600 (Wed, 07 Feb 2007) | 10 lines 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/trunk@2121 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 bab8813..3f0f8d4 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -66,7 +66,7 @@
/* #define ENABLE_TASKLETS */
/* 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