patch-2.3.99-pre6 linux/drivers/net/wan/sdlamain.c
Next file: linux/drivers/net/wan/syncppp.c
Previous file: linux/drivers/net/wan/sdladrv.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Fri Apr 21 16:08:45 2000
- Orig file:
v2.3.99-pre5/linux/drivers/net/wan/sdlamain.c
- Orig date:
Fri Jan 28 15:09:07 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/net/wan/sdlamain.c linux/drivers/net/wan/sdlamain.c
@@ -391,7 +391,7 @@
if (!card->configured){
- #ifdef __SMP__
+ #ifdef CONFIG_SMP
/* Initialize the Spin lock */
printk(KERN_INFO "%s: Initializing SMP\n",wandev->name);
spin_lock_init(&card->lock);
@@ -825,13 +825,13 @@
/* Use spin lock only for S508 */
-#ifdef __SMP__
+#ifdef CONFIG_SMP
spin_lock(&card->lock);
#endif
sdla_intack(&card->hw);
if (card->isr)
card->isr(card);
-#ifdef __SMP__
+#ifdef CONFIG_SMP
spin_unlock(&card->lock);
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)