From 11ee3f70da56dfec722ead7fe63035732ee31322 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Wed, 7 Feb 2007 21:22:44 +0000 Subject: 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 --- wct4xxp/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wct4xxp') 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 -- cgit v1.2.3