mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
package/mac80211: fix atomic64 compat
SVN-Revision: 29209
This commit is contained in:
parent
010e58d209
commit
c43938afc3
@ -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);
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user