aboutsummaryrefslogtreecommitdiffstats
path: root/package/ltq-ifxos/patches/120-fix_smp_lock.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-07-07 18:20:02 +0000
committerJohn Crispin <blogic@openwrt.org>2011-07-07 18:20:02 +0000
commit767bb690d1a07899aca00a69d0afc1b22e507fd1 (patch)
tree2c05548e1c48ac78ee4077b8ad068e3910874727 /package/ltq-ifxos/patches/120-fix_smp_lock.patch
parent628845c5adc42aad6faf37afb65c57c58e7866ed (diff)
downloadupstream-767bb690d1a07899aca00a69d0afc1b22e507fd1.tar.gz
upstream-767bb690d1a07899aca00a69d0afc1b22e507fd1.tar.bz2
upstream-767bb690d1a07899aca00a69d0afc1b22e507fd1.zip
update ltq-ifxos to version 1.5.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27531 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ltq-ifxos/patches/120-fix_smp_lock.patch')
-rw-r--r--package/ltq-ifxos/patches/120-fix_smp_lock.patch12
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 0000000000..aea4305a90
--- /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>
+
+