mirror of https://github.com/hak5/openwrt-owl.git
parent
c6f0ca6c00
commit
067aedb906
|
@ -38,7 +38,7 @@
|
||||||
+#include <linux/spinlock.h>
|
+#include <linux/spinlock.h>
|
||||||
+#include <linux/module.h>
|
+#include <linux/module.h>
|
||||||
+
|
+
|
||||||
+#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))
|
+#if !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);
|
||||||
+
|
+
|
||||||
|
|
Loading…
Reference in New Issue