patch-2.4.23 linux-2.4.23/drivers/net/wan/wanpipe_multppp.c
Next file: linux-2.4.23/drivers/net/winbond-840.c
Previous file: linux-2.4.23/drivers/net/wan/sdlamain.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/wanpipe_multppp.c
- Orig date:
2001-09-13 16:04:43.000000000 -0700
diff -urN linux-2.4.22/drivers/net/wan/wanpipe_multppp.c linux-2.4.23/drivers/net/wan/wanpipe_multppp.c
@@ -2358,7 +2358,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){
/* It is ok to use spin_lock here, since we
@@ -2372,7 +2372,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)