patch-2.4.23 linux-2.4.23/drivers/net/wan/sdla_fr.c
Next file: linux-2.4.23/drivers/net/wan/sdla_ppp.c
Previous file: linux-2.4.23/drivers/net/wan/sdla_chdlc.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
2003-11-28 10:26:20.000000000 -0800
- Orig file:
linux-2.4.22/drivers/net/wan/sdla_fr.c
- Orig date:
2003-08-25 04:44:42.000000000 -0700
diff -urN linux-2.4.22/drivers/net/wan/sdla_fr.c linux-2.4.23/drivers/net/wan/sdla_fr.c
@@ -4707,13 +4707,13 @@
{
if (card->hw.type != SDLA_S514){
-#if defined(__SMP__) || defined(LINUX_2_4)
+#if defined(CONFIG_SMP) || defined(LINUX_2_4)
spin_lock_irqsave(&card->wandev.lock, *smp_flags);
#else
disable_irq(card->hw.irq);
#endif
}else{
-#if defined(__SMP__) || defined(LINUX_2_4)
+#if defined(CONFIG_SMP) || defined(LINUX_2_4)
spin_lock(&card->u.f.if_send_lock);
#endif
}
@@ -4725,13 +4725,13 @@
{
if (card->hw.type != SDLA_S514){
-#if defined(__SMP__) || defined(LINUX_2_4)
+#if defined(CONFIG_SMP) || defined(LINUX_2_4)
spin_unlock_irqrestore (&card->wandev.lock, *smp_flags);
#else
enable_irq(card->hw.irq);
#endif
}else{
-#if defined(__SMP__) || defined(LINUX_2_4)
+#if defined(CONFIG_SMP) || defined(LINUX_2_4)
spin_unlock(&card->u.f.if_send_lock);
#endif
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)