aboutsummaryrefslogtreecommitdiffstats
path: root/package/ltq-ifxos/patches/120-fix_smp_lock.patch
blob: aea4305a9038380f1aedfa328999efba0585a8d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
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>