projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6f0ca6
)
Revert "package/mac80211: fix atomic64 compat"
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 19 Nov 2011 16:56:47 +0000
(16:56 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 19 Nov 2011 16:56:47 +0000
(16:56 +0000)
SVN-Revision: 29258
package/mac80211/patches/022-atomic64_backport.patch
patch
|
blob
|
history
diff --git
a/package/mac80211/patches/022-atomic64_backport.patch
b/package/mac80211/patches/022-atomic64_backport.patch
index 2d11a9f783c11903f3b740c4648f5a37a883a2c2..ab77f76ad0207b06128598e7e8667b3bade7c3d0 100644
(file)
--- a/
package/mac80211/patches/022-atomic64_backport.patch
+++ b/
package/mac80211/patches/022-atomic64_backport.patch
@@
-38,7
+38,7
@@
+#include <linux/spinlock.h>
+#include <linux/module.h>
+
-+#if
(LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)) && !defined(ATOMIC64_INIT) &&
!defined(CONFIG_X86) && !((LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) && defined(CONFIG_ARM) && !defined(CONFIG_GENERIC_ATOMIC64))
++#if !defined(CONFIG_X86) && !((LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) && defined(CONFIG_ARM) && !defined(CONFIG_GENERIC_ATOMIC64))
+
+static DEFINE_SPINLOCK(lock);
+