[adm5120] fix support for 2.6.38 kernel
[openwrt.git] / package / ltq-ifxos / patches / 120-fix_smp_lock.patch
1 --- a/src/linux/ifxos_linux_thread_drv.c
2 +++ b/src/linux/ifxos_linux_thread_drv.c
3 @@ -34,7 +34,9 @@
4 #include <linux/sched.h>
5 #include <linux/version.h>
6 #include <linux/completion.h>
7 +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
8 #include <linux/smp_lock.h>
9 +#endif
10 #include <linux/signal.h>
11
12
This page took 0.054256 seconds and 5 git commands to generate.