diff options
author | John Crispin <blogic@openwrt.org> | 2015-02-09 12:12:52 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-02-09 12:12:52 +0000 |
commit | f4502d48f72913102ec18f3434c2ad9136fd43c5 (patch) | |
tree | dd0473a34b6136496400e54c752e27cf205a1bc0 /package/kernel/lantiq/ltq-adsl/patches/140-linux_3.18.patch | |
parent | d3c5997add663d8b422eec56d9af89197bf30df4 (diff) | |
download | master-187ad058-f4502d48f72913102ec18f3434c2ad9136fd43c5.tar.gz master-187ad058-f4502d48f72913102ec18f3434c2ad9136fd43c5.tar.bz2 master-187ad058-f4502d48f72913102ec18f3434c2ad9136fd43c5.zip |
lantiq: fix dsl drivers for 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44346 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/lantiq/ltq-adsl/patches/140-linux_3.18.patch')
-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) |