diff options
author | Nicolas Thill <nico@openwrt.org> | 2011-11-17 09:57:00 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2011-11-17 09:57:00 +0000 |
commit | c43938afc390296f37acf57497318d3293c55a17 (patch) | |
tree | c38861abed4fc2d3ed839c7354c90c25359bab68 /package/mac80211/patches/022-atomic64_backport.patch | |
parent | 010e58d2092b6c8637a84eba7d9d1d43dfd71b39 (diff) | |
download | mtk-20170518-c43938afc390296f37acf57497318d3293c55a17.zip mtk-20170518-c43938afc390296f37acf57497318d3293c55a17.tar.gz mtk-20170518-c43938afc390296f37acf57497318d3293c55a17.tar.bz2 |
package/mac80211: fix atomic64 compat
SVN-Revision: 29209
Diffstat (limited to 'package/mac80211/patches/022-atomic64_backport.patch')
-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 ab77f76..2d11a9f 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); + |