diff options
author | John Crispin <john@openwrt.org> | 2011-07-07 18:20:02 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2011-07-07 18:20:02 +0000 |
commit | 35309dbbc87bcacd9b58f0964f799191ce5ab1a3 (patch) | |
tree | c8191aa008b5a2b81768387f88ed9455efea0413 /package/ltq-ifxos/patches/120-fix_smp_lock.patch | |
parent | 7aa12362b1dfa989b7e89268002edb6271ff02b6 (diff) | |
download | mtk-20170518-35309dbbc87bcacd9b58f0964f799191ce5ab1a3.zip mtk-20170518-35309dbbc87bcacd9b58f0964f799191ce5ab1a3.tar.gz mtk-20170518-35309dbbc87bcacd9b58f0964f799191ce5ab1a3.tar.bz2 |
update ltq-ifxos to version 1.5.14
SVN-Revision: 27531
Diffstat (limited to 'package/ltq-ifxos/patches/120-fix_smp_lock.patch')
-rw-r--r-- | package/ltq-ifxos/patches/120-fix_smp_lock.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/ltq-ifxos/patches/120-fix_smp_lock.patch b/package/ltq-ifxos/patches/120-fix_smp_lock.patch new file mode 100644 index 0000000..aea4305 --- /dev/null +++ b/package/ltq-ifxos/patches/120-fix_smp_lock.patch @@ -0,0 +1,12 @@ +--- a/src/linux/ifxos_linux_thread_drv.c ++++ b/src/linux/ifxos_linux_thread_drv.c +@@ -34,7 +34,9 @@ + #include <linux/sched.h> + #include <linux/version.h> + #include <linux/completion.h> ++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) + #include <linux/smp_lock.h> ++#endif + #include <linux/signal.h> + + |