From 684c6d4fea674a9ad42a46391ec633becc3b3967 Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 17 Nov 2011 09:57:00 +0000 Subject: package/mac80211: fix atomic64 compat git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29209 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/patches/022-atomic64_backport.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/mac80211') 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 +#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(ATOMIC64_INIT) && !defined(CONFIG_X86) && !((LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) && defined(CONFIG_ARM) && !defined(CONFIG_GENERIC_ATOMIC64)) + +static DEFINE_SPINLOCK(lock); + -- cgit v1.2.3