patch-2.4.23 linux-2.4.23/drivers/net/wan/sdla_chdlc.c
Next file: linux-2.4.23/drivers/net/wan/sdla_fr.c
Previous file: linux-2.4.23/drivers/net/wan/n2.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-11-28 10:26:20.000000000 -0800
- Orig file:
linux-2.4.22/drivers/net/wan/sdla_chdlc.c
- Orig date:
2003-08-25 04:44:42.000000000 -0700
diff -urN linux-2.4.22/drivers/net/wan/sdla_chdlc.c linux-2.4.23/drivers/net/wan/sdla_chdlc.c
@@ -3819,7 +3819,7 @@
void s508_lock (sdla_t *card, unsigned long *smp_flags)
{
-#if defined(__SMP__) || defined(LINUX_2_4)
+#if defined(CONFIG_SMP) || defined(LINUX_2_4)
spin_lock_irqsave(&card->wandev.lock, *smp_flags);
if (card->next){
spin_lock(&card->next->wandev.lock);
@@ -3831,7 +3831,7 @@
void s508_unlock (sdla_t *card, unsigned long *smp_flags)
{
-#if defined(__SMP__) || defined(LINUX_2_4)
+#if defined(CONFIG_SMP) || defined(LINUX_2_4)
if (card->next){
spin_unlock(&card->next->wandev.lock);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)