diff options
author | John Crispin <john@openwrt.org> | 2015-02-09 12:12:52 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-02-09 12:12:52 +0000 |
commit | 64f9626963cf3abf7550df706e42973f4c0221f4 (patch) | |
tree | 16639bc24915050fc771a93be3284b10f0796cae /package/kernel/lantiq/ltq-adsl | |
parent | 682cf3b8545bf9221530a43930bf9a181796bf0a (diff) | |
download | upstream-64f9626963cf3abf7550df706e42973f4c0221f4.tar.gz upstream-64f9626963cf3abf7550df706e42973f4c0221f4.tar.bz2 upstream-64f9626963cf3abf7550df706e42973f4c0221f4.zip |
lantiq: fix dsl drivers for 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44346
Diffstat (limited to 'package/kernel/lantiq/ltq-adsl')
-rw-r--r-- | package/kernel/lantiq/ltq-adsl/patches/140-linux_3.18.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/kernel/lantiq/ltq-adsl/patches/140-linux_3.18.patch b/package/kernel/lantiq/ltq-adsl/patches/140-linux_3.18.patch new file mode 100644 index 0000000000..a0a9acdb73 --- /dev/null +++ b/package/kernel/lantiq/ltq-adsl/patches/140-linux_3.18.patch @@ -0,0 +1,13 @@ +Index: drv_dsl_cpe_api-3.24.4.4/src/include/drv_dsl_cpe_os_linux.h +=================================================================== +--- drv_dsl_cpe_api-3.24.4.4.orig/src/include/drv_dsl_cpe_os_linux.h 2015-02-08 09:59:02.424259834 +0100 ++++ drv_dsl_cpe_api-3.24.4.4/src/include/drv_dsl_cpe_os_linux.h 2015-02-08 10:02:19.580740173 +0100 +@@ -218,7 +218,7 @@ + #define DSL_DRV_WAKEUP_WAKELIST(queue) wake_up_interruptible(&(queue)) + #define DSL_DRV_INIT_EVENT(name,ev) init_waitqueue_head(&(ev)) + /* wait for an event, timeout is measured in ms */ +-#define DSL_DRV_WAIT_EVENT_TIMEOUT(ev,t) interruptible_sleep_on_timeout(&(ev), (t) * HZ / 1000) ++#define DSL_DRV_WAIT_EVENT_TIMEOUT(ev,t) wait_event_interruptible_timeout((ev), 0 == 1, (t) * HZ / 1000) + #define DSL_DRV_WAIT_EVENT(ev) interruptible_sleep_on(&(ev)) + #define DSL_DRV_WAKEUP_EVENT(ev) wake_up_interruptible(&(ev)) + #define DSL_DRV_TimeMSecGet() DSL_DRV_ElapsedTimeMSecGet(0) |