Skip to content
Snippets Groups Projects
Commit c43938af authored by Nicolas Thill's avatar Nicolas Thill
Browse files

package/mac80211: fix atomic64 compat

SVN-Revision: 29209
parent 010e58d2
No related branches found
No related tags found
No related merge requests found
......@@ -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);
+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment