diff options
author | Nicolas Thill <nico@openwrt.org> | 2011-11-21 21:40:26 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2011-11-21 21:40:26 +0000 |
commit | c389cc199560cb0c2cd3f66b2ed8a518f6bfcb82 (patch) | |
tree | 189ad1fc11b0bec90471b42948954c25e2ec1d7c | |
parent | 3361c4d1bffd1b2b759a311d5e6702ffbfed413d (diff) | |
download | upstream-c389cc199560cb0c2cd3f66b2ed8a518f6bfcb82.tar.gz upstream-c389cc199560cb0c2cd3f66b2ed8a518f6bfcb82.tar.bz2 upstream-c389cc199560cb0c2cd3f66b2ed8a518f6bfcb82.zip |
package/mac80211: fix atomic64 issues on x86 / uml
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29289 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/mac80211/patches/022-atomic64_backport.patch | 2 |
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..673b7c336a 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(CONFIG_UML) || defined(CONFIG_X86))) && !((LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) && defined(CONFIG_ARM) && !defined(CONFIG_GENERIC_ATOMIC64)) + +static DEFINE_SPINLOCK(lock); + |