package/mac80211: fix atomic64 issues on x86 / uml

SVN-Revision: 29289
lede-17.01
Nicolas Thill 2011-11-21 21:40:26 +00:00
parent 718907b661
commit aca5063d4e
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
+#include <linux/spinlock.h> +#include <linux/spinlock.h>
+#include <linux/module.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); +static DEFINE_SPINLOCK(lock);
+ +