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

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)