summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-07 21:22:44 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-07 21:22:44 +0000
commit11ee3f70da56dfec722ead7fe63035732ee31322 (patch)
tree28d896f9050d85e5406c5deaf3b047be1bc4d3b8 /wct4xxp
parent12adaa05721959bf0400a5194d33fa2eeeb60c20 (diff)
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.2@2119 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 21ec242..c047f1e 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -64,7 +64,7 @@ static const char *oct128_firmware = "OCT6114-128D.ima";
/* 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