aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2011-11-17 09:57:00 +0000
committerNicolas Thill <nico@openwrt.org>2011-11-17 09:57:00 +0000
commit7250a80f7cef2e025f66441396fb11e9bff3a373 (patch)
tree0e161b99791165f4abb3db8346f0e4d4e105d8f9 /package/mac80211
parent8fc48ae271ed4a47f1c336168dc504e8b0980f3a (diff)
downloadupstream-7250a80f7cef2e025f66441396fb11e9bff3a373.tar.gz
upstream-7250a80f7cef2e025f66441396fb11e9bff3a373.tar.bz2
upstream-7250a80f7cef2e025f66441396fb11e9bff3a373.zip
package/mac80211: fix atomic64 compat
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29209 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/022-atomic64_backport.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/022-atomic64_backport.patch b/package/mac80211/patches/022-atomic64_backport.patch
index ab77f76ad0..2d11a9f783 100644
--- 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 !defined(CONFIG_X86) && !((LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) && defined(CONFIG_ARM) && !defined(CONFIG_GENERIC_ATOMIC64))
++#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))
+
+static DEFINE_SPINLOCK(lock);
+