summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-06-01 20:18:52 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-06-01 20:18:52 -0300
commit4e4c168746908b7dc88bb1fe46b7308164fb145c (patch)
treef69dfba3f28b1359e0bae7a238c7c4b1684c8878 /linux/drivers/media/dvb/dvb-core
parent8391e4a8e4148d94a9eaecf3fbd242d959ace901 (diff)
downloadmediapointer-dvb-s2-4e4c168746908b7dc88bb1fe46b7308164fb145c.tar.gz
mediapointer-dvb-s2-4e4c168746908b7dc88bb1fe46b7308164fb145c.tar.bz2
Reverting last changeset. There were two different patches merged together
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_net.c b/linux/drivers/media/dvb/dvb-core/dvb_net.c
index e180cdf53..408c3b638 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_net.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_net.c
@@ -1171,7 +1171,7 @@ static void wq_set_multicast_list (struct work_struct *work)
dvb_net_feed_stop(dev);
priv->rx_mode = RX_MODE_UNI;
-#ifdef OLD_XMIT_LOCK /* Kernels equal or lower than 2.6.17 */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
spin_lock_bh(&dev->xmit_lock);
#else
netif_tx_lock_bh(dev);
@@ -1200,7 +1200,7 @@ static void wq_set_multicast_list (struct work_struct *work)
}
}
-#ifdef OLD_XMIT_LOCK /* Kernels equal or lower than 2.6.17 */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
spin_unlock_bh(&dev->xmit_lock);
#else
netif_tx_unlock_bh(dev);