aboutsummaryrefslogtreecommitdiffstats
path: root/package/ar7-atm/patches-D7.05.01.00/210-3.3-remove-smp_lock.h.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-05 17:32:33 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-05 17:32:33 +0000
commit71dc2715a9d73b5f0e7797bfe942fedd09f2427e (patch)
tree52c5a9be713c4db1db1cebc778210f8a1fe73ca9 /package/ar7-atm/patches-D7.05.01.00/210-3.3-remove-smp_lock.h.patch
parent1e041ba72a3f0e7ba560526b92062cfd58532166 (diff)
downloadupstream-71dc2715a9d73b5f0e7797bfe942fedd09f2427e.tar.gz
upstream-71dc2715a9d73b5f0e7797bfe942fedd09f2427e.tar.bz2
upstream-71dc2715a9d73b5f0e7797bfe942fedd09f2427e.zip
package/ar7-atm: allow to build on 3.3
SVN-Revision: 31613
Diffstat (limited to 'package/ar7-atm/patches-D7.05.01.00/210-3.3-remove-smp_lock.h.patch')
-rw-r--r--package/ar7-atm/patches-D7.05.01.00/210-3.3-remove-smp_lock.h.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/ar7-atm/patches-D7.05.01.00/210-3.3-remove-smp_lock.h.patch b/package/ar7-atm/patches-D7.05.01.00/210-3.3-remove-smp_lock.h.patch
new file mode 100644
index 0000000000..975ebaf299
--- /dev/null
+++ b/package/ar7-atm/patches-D7.05.01.00/210-3.3-remove-smp_lock.h.patch
@@ -0,0 +1,33 @@
+--- a/tn7atm.c
++++ b/tn7atm.c
+@@ -72,7 +72,7 @@
+ #include <linux/atmdev.h>
+ #include <linux/delay.h>
+ #include <linux/spinlock.h>
+-#include <linux/smp_lock.h>
++#include <linux/interrupt.h>
+ #include <linux/proc_fs.h>
+ #include <linux/string.h>
+ #include <linux/ctype.h>
+--- a/tn7sar.c
++++ b/tn7sar.c
+@@ -49,7 +49,7 @@
+ #include <linux/atmdev.h>
+ #include <linux/delay.h>
+ #include <linux/spinlock.h>
+-#include <linux/smp_lock.h>
++#include <linux/interrupt.h>
+ #include <linux/proc_fs.h>
+ #include <linux/string.h>
+ #include <linux/ctype.h>
+--- a/tn7dsl.c
++++ b/tn7dsl.c
+@@ -108,7 +108,7 @@
+ #include <linux/atmdev.h>
+ #include <linux/delay.h>
+ #include <linux/spinlock.h>
+-#include <linux/smp_lock.h>
++#include <linux/interrupt.h>
+ #include <linux/proc_fs.h>
+ #include <linux/string.h>
+ #include <linux/ctype.h>