From: Nicolas Thill Date: Mon, 21 Nov 2011 21:40:26 +0000 (+0000) Subject: package/mac80211: fix atomic64 issues on x86 / uml X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bd59df6df7fcd7be10e25c719aac6d9ddf1a8bd6;p=openwrt%2Fsvn-archive%2Farchive.git package/mac80211: fix atomic64 issues on x86 / uml SVN-Revision: 29289 --- 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 +#include + -+#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); +