patch-2.3.99-pre6 linux/drivers/net/rrunner.c
Next file: linux/drivers/net/rtl8129.c
Previous file: linux/drivers/net/ppp_synctty.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/rrunner.c
- Orig date:
Mon Mar 27 08:08:26 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/net/rrunner.c linux/drivers/net/rrunner.c
@@ -25,6 +25,7 @@
#define RX_DMA_SKBUFF 1
#define PKT_COPY_THRESHOLD 512
+#include <linux/config.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/types.h>
@@ -166,7 +167,7 @@
rrpriv = (struct rr_private *)dev->priv;
memset(rrpriv, 0, sizeof(*rrpriv));
-#ifdef __SMP__
+#ifdef CONFIG_SMP
spin_lock_init(&rrpriv->lock);
#endif
sprintf(rrpriv->name, "RoadRunner serial HIPPI");
@@ -1650,6 +1651,6 @@
/*
* Local variables:
- * compile-command: "gcc -D__SMP__ -D__KERNEL__ -I../../include -Wall -Wstrict-prototypes -O2 -pipe -fomit-frame-pointer -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DMODULE -DMODVERSIONS -include ../../include/linux/modversions.h -c rrunner.c"
+ * compile-command: "gcc -D__KERNEL__ -I../../include -Wall -Wstrict-prototypes -O2 -pipe -fomit-frame-pointer -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DMODULE -DMODVERSIONS -include ../../include/linux/modversions.h -c rrunner.c"
* End:
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)