Archived
1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Files
archive/package/ltq-ifxos/patches/120-fix_smp_lock.patch
John Crispin 6ccdb0ae23 adds lantiq packages/drivers
SVN-Revision: 27547
2011-07-07 19:56:31 +00:00

13 lines
304 B
Diff

--- 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>