patch-2.4.23 linux-2.4.23/drivers/net/wan/sdla_ppp.c

Next file: linux-2.4.23/drivers/net/wan/sdlamain.c
Previous file: linux-2.4.23/drivers/net/wan/sdla_fr.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/net/wan/sdla_ppp.c linux-2.4.23/drivers/net/wan/sdla_ppp.c
@@ -3331,7 +3331,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);
 #else
 	disable_irq(card->hw.irq);
@@ -3340,7 +3340,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)
         spin_unlock_irqrestore(&card->wandev.lock, *smp_flags);
 #else
 	enable_irq(card->hw.irq);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)