summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-04-29 13:53:49 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-04-29 13:53:49 +0000
commit14c02b5f0bf4284075f8b5aa23b7b68e719cee64 (patch)
treeefb02ef770a9e05324266389503a4e1d3d85008c /net-dialup/fcdslsl/files
parentpunt, this never worked as it should have (diff)
downloadgentoo-2-14c02b5f0bf4284075f8b5aa23b7b68e719cee64.tar.gz
gentoo-2-14c02b5f0bf4284075f8b5aa23b7b68e719cee64.tar.bz2
gentoo-2-14c02b5f0bf4284075f8b5aa23b7b68e719cee64.zip
punt
Diffstat (limited to 'net-dialup/fcdslsl/files')
-rw-r--r--net-dialup/fcdslsl/files/fcdslsl_kernel-2.6.24.diff47
1 files changed, 0 insertions, 47 deletions
diff --git a/net-dialup/fcdslsl/files/fcdslsl_kernel-2.6.24.diff b/net-dialup/fcdslsl/files/fcdslsl_kernel-2.6.24.diff
deleted file mode 100644
index e9b51ed36a2d..000000000000
--- a/net-dialup/fcdslsl/files/fcdslsl_kernel-2.6.24.diff
+++ /dev/null
@@ -1,47 +0,0 @@
---- src/driver.c.orig 2008-01-27 05:38:50.000000000 +0100
-+++ src/driver.c 2008-01-27 05:38:50.000000000 +0100
-@@ -116,7 +116,10 @@
- static DECLARE_WAIT_QUEUE_HEAD(capi_wait);
- static DECLARE_WAIT_QUEUE_HEAD(dbg_wait);
-
-+static DECLARE_COMPLETION(thread_sync); /* New DECLARE, <arnd.feldmueller@web.de> */
-+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24))
- static DECLARE_MUTEX_LOCKED(thread_sync);
-+#endif
-
- #define SCHED_WAKEUP_CAPI { atomic_set (&thread_capi_flag, 1); wake_up_interruptible (&capi_wait); }
- #define SCHED_WAKEUP { atomic_set (&got_kicked, 1); wake_up_interruptible (&wait); }
-@@ -1405,7 +1409,10 @@
- }
- }
- LOG("Scheduler thread stopped.\n");
-+ complete(&thread_sync); /* Complete Thread Sync here <arnd.feldmueller@web.de> */
-+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24))
- up (&thread_sync);
-+ #endif
- return 0;
- } /* sched_thread */
-
-@@ -1439,7 +1448,10 @@
- SCHED_WAKEUP;
- }
- LOG("Thread signalled, waiting for termination...\n");
-+ wait_for_completion(&thread_sync); /* Wait for complete Thread Sync <arnd.feldmueller@web.de> */
-+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24))
- down (&thread_sync);
-+ #endif
- LOG("Thread[%d] terminated.\n", thread_pid);
- }
- thread_pid = -1;
---- src/common.h.orig 2005-07-07 00:00:00.000000000 +0200
-+++ src/common.h 2008-01-27 05:38:50.000000000 +0100
-@@ -44,7 +44,9 @@
- /*---------------------------------------------------------------------------*\
- \*---------------------------------------------------------------------------*/
- typedef long intptr_t;
-+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24))
- typedef unsigned long uintptr_t;
-+#endif
-
- /*---------------------------------------------------------------------------*\
- \*---------------------------------------------------------------------------*/