diff options
Diffstat (limited to 'package/ltq-ifxos/patches/120-linaro.patch')
-rw-r--r-- | package/ltq-ifxos/patches/120-linaro.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/ltq-ifxos/patches/120-linaro.patch b/package/ltq-ifxos/patches/120-linaro.patch index da59014658..0ad5a95cb9 100644 --- a/package/ltq-ifxos/patches/120-linaro.patch +++ b/package/ltq-ifxos/patches/120-linaro.patch @@ -9,3 +9,15 @@ # error "missing endian definiton" #endif +--- 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> + + |