summaryrefslogtreecommitdiff
path: root/patches/0030-qdisc_tx_busylock/bluetooth.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0030-qdisc_tx_busylock/bluetooth.patch')
-rw-r--r--patches/0030-qdisc_tx_busylock/bluetooth.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/0030-qdisc_tx_busylock/bluetooth.patch b/patches/0030-qdisc_tx_busylock/bluetooth.patch
index 0b88b613..1025f03b 100644
--- a/patches/0030-qdisc_tx_busylock/bluetooth.patch
+++ b/patches/0030-qdisc_tx_busylock/bluetooth.patch
@@ -4,7 +4,7 @@
return err < 0 ? NET_XMIT_DROP : err;
}
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0)
++#if LINUX_VERSION_IS_GEQ(3,7,0)
static struct lock_class_key bt_tx_busylock;
+#endif
static struct lock_class_key bt_netdev_xmit_lock_key;
@@ -14,7 +14,7 @@
static int bt_dev_init(struct net_device *dev)
{
netdev_for_each_tx_queue(dev, bt_set_lockdep_class_one, NULL);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0)
++#if LINUX_VERSION_IS_GEQ(3,7,0)
dev->qdisc_tx_busylock = &bt_tx_busylock;
+#endif